Commit 7c64872a authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

oops

parent 5bfe901b
......@@ -133,9 +133,9 @@ class AdhesionDeletableFilter(admin.SimpleListFilter):
last_echeance__lte=one_year_ago,
)
if self.value() == "0":
return queryset.filter(q)
if self.value() == "1":
return queryset.exclude(q)
if self.value() == "1":
return queryset.filter(q)
# ## Mixins
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment