1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +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

@ -303,7 +303,7 @@ class ClubListView(ProtectQuerysetMixin, LoginRequiredMixin, SingleTableView):
"""
Filter the user list with the given pattern.
"""
qs = super().get_queryset().filter()
qs = super().get_queryset().distinct()
if "search" in self.request.GET:
pattern = self.request.GET["search"]