Fix a bug displaying quota in (sub)event list

This commit is contained in:
Raphael Michel
2021-03-29 14:22:17 +02:00
parent b5b3d3a90b
commit 9686fd6a83
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ class EventList(PaginationMixin, ListView):
for q in quotas:
q.cached_avail = qa.results[q]
q.cached_availability_paid_orders = qa.count_paid_orders.get(qa, 0)
q.cached_availability_paid_orders = qa.count_paid_orders.get(q, 0)
if q.size is not None:
q.percent_paid = min(
100,