From f55bd1f4bdb7619dad8e0a065bac9454829d2315 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Fri, 15 May 2020 20:45:36 +0200 Subject: [PATCH] Syntheses are distinct --- apps/tournament/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tournament/views.py b/apps/tournament/views.py index 0211364..4b4052a 100644 --- a/apps/tournament/views.py +++ b/apps/tournament/views.py @@ -529,7 +529,7 @@ class SynthesesOrgaListView(OrgaMixin, SingleTableView): if not self.request.user.admin: qs = qs.filter(Q(team__tournament__organizers=self.request.user) | Q(team__pools__juries=self.request.user)) return qs.order_by('final', 'team__tournament__date_start', 'team__tournament__name', 'team__trigram', - 'round', 'source',) + 'round', 'source',).distinct() class PoolListView(LoginRequiredMixin, SingleTableView):