Distinct solutions
This commit is contained in:
parent
fc0b87e690
commit
393ac6bd31
|
@ -327,7 +327,7 @@ class SolutionsOrgaListView(OrgaMixin, SingleTableView):
|
|||
if not self.request.user.admin:
|
||||
qs = qs.filter(Q(team__tournament__organizers=self.request.user) | Q(pools__juries=self.request.user))
|
||||
return qs.order_by('final', 'team__tournament__date_start', 'team__tournament__name', 'team__trigram',
|
||||
'problem',)
|
||||
'problem',).distinct()
|
||||
|
||||
|
||||
class SynthesesView(TeamMixin, BaseFormView, SingleTableView):
|
||||
|
|
Loading…
Reference in New Issue