1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 18:08:21 +02:00

The validation filter of the soge credit list was buggy

This commit is contained in:
Yohann D'ANELLO
2020-10-07 10:42:52 +02:00
parent c3d613947f
commit 8ada0e51f2
2 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ class SogeCreditListView(LoginRequiredMixin, ProtectQuerysetMixin, SingleTableVi
if "valid" not in self.request.GET or not self.request.GET["valid"]:
qs = qs.filter(credit_transaction__valid=False)
return qs[:20]
return qs
class SogeCreditManageView(LoginRequiredMixin, ProtectQuerysetMixin, BaseFormView, DetailView):