mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-24 17:42:23 +00:00
Better pool rendering
This commit is contained in:
parent
b16fe7d68e
commit
522ed088ef
@ -564,8 +564,7 @@ class PoolListView(LoginRequiredMixin, SingleTableView):
|
||||
qs = qs.filter(Q(juries=user) | Q(teams__tournament__organizers=user))
|
||||
elif user.participates:
|
||||
qs = qs.filter(teams=user.team)
|
||||
qs = qs.distinct().order_by('solutions__final', 'teams__tournament__date_start', 'teams__tournament__name',
|
||||
'round',)
|
||||
qs = qs.distinct().order_by('id')
|
||||
return qs
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user