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

🐛 Minor fixes

This commit is contained in:
Yohann D'ANELLO
2020-07-25 18:18:53 +02:00
parent b2e1777fe0
commit f0bca69825
7 changed files with 7 additions and 5 deletions

View File

@ -164,7 +164,7 @@ class FutureUserListView(ProtectQuerysetMixin, LoginRequiredMixin, SingleTableVi
:param kwargs:
:return:
"""
qs = super().get_queryset().filter(profile__registration_valid=False)
qs = super().get_queryset().distinct().filter(profile__registration_valid=False)
if "search" in self.request.GET:
pattern = self.request.GET["search"]