Syntheses are distinct
This commit is contained in:
parent
8c0b2600f9
commit
f55bd1f4bd
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue