mirror of
https://github.com/pretix/pretix.git
synced 2026-05-13 16:33:59 +00:00
Calculation fix for unlimited Quota w/ Waitinglist
This commit is contained in:
@@ -167,6 +167,7 @@ def waitinglist_widgets(sender, subevent=None, lazy=False, **kwargs):
|
||||
elif row[1] > 0:
|
||||
happy += 1
|
||||
for q in quotas:
|
||||
if q.size is not None:
|
||||
quota_cache[q.pk] = (quota_cache[q.pk][0], quota_cache[q.pk][1] - 1)
|
||||
|
||||
widgets.append({
|
||||
|
||||
Reference in New Issue
Block a user