mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Shorter and more useful global dashboard
This commit is contained in:
@@ -42,7 +42,7 @@ class EventList(PaginationMixin, ListView):
|
||||
max_fromto=Greatest(Max('subevents__date_to'), Max('subevents__date_from'))
|
||||
).annotate(
|
||||
order_from=Coalesce('min_from', 'date_from'),
|
||||
order_to=Coalesce('max_fromto', 'max_to', 'max_from', 'date_to'),
|
||||
order_to=Coalesce('max_fromto', 'max_to', 'max_from', 'date_to', 'date_from'),
|
||||
)
|
||||
|
||||
sum_tickets_paid = Quota.objects.filter(
|
||||
|
||||
Reference in New Issue
Block a user