Le filtre des tags combine chacune des étiquettes
This commit is contained in:
parent
9345e1b12c
commit
40ce9a9cba
@ -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,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user