Le filtre des tags combine chacune des étiquettes

This commit is contained in:
Jean-Marie Favreau 2024-11-02 15:18:24 +01:00
parent 9345e1b12c
commit 40ce9a9cba

View File

@ -200,6 +200,7 @@ class EventFilter(django_filters.FilterSet):
label="Inclure les étiquettes", label="Inclure les étiquettes",
choices=[(t, t) for t in Event.get_all_tags()], choices=[(t, t) for t in Event.get_all_tags()],
lookup_expr="icontains", lookup_expr="icontains",
conjoined=True,
field_name="tags", field_name="tags",
widget=TagCheckboxSelectMultiple, widget=TagCheckboxSelectMultiple,
) )