Correction de l'annotation des événements suggérés
This commit is contained in:
parent
bd97bc0976
commit
53ce6ad29f
@ -1208,7 +1208,9 @@ class Event(models.Model):
|
|||||||
qs = qs.annotate(overlap_emoji_tags_count=Value(0))
|
qs = qs.annotate(overlap_emoji_tags_count=Value(0))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
qs = qs.annotate(overlap_tags_count=Value(0))
|
qs = qs.annotate(
|
||||||
|
overlap_tags_count=Value(0), overlap_emoji_tags_count=Value(0)
|
||||||
|
)
|
||||||
|
|
||||||
if self.exact_location:
|
if self.exact_location:
|
||||||
qs = (
|
qs = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user