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))
|
qs = qs.filter(Q(juries=user) | Q(teams__tournament__organizers=user))
|
||||||
elif user.participates:
|
elif user.participates:
|
||||||
qs = qs.filter(teams=user.team)
|
qs = qs.filter(teams=user.team)
|
||||||
qs = qs.distinct().order_by('solutions__final', 'teams__tournament__date_start', 'teams__tournament__name',
|
qs = qs.distinct().order_by('id')
|
||||||
'round',)
|
|
||||||
return qs
|
return qs
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue