Correction de l'annotation des événements suggérés

This commit is contained in:
Jean-Marie Favreau 2025-04-27 12:15:03 +02:00
parent bd97bc0976
commit 53ce6ad29f

View File

@ -1208,7 +1208,9 @@ class Event(models.Model):
qs = qs.annotate(overlap_emoji_tags_count=Value(0))
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:
qs = (