mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Fix dashboard widgets to show correct waiting list numbers
This commit is contained in:
@@ -91,7 +91,7 @@ def base_widgets(sender, **kwargs):
|
|||||||
def waitinglist_widgets(sender, **kwargs):
|
def waitinglist_widgets(sender, **kwargs):
|
||||||
widgets = []
|
widgets = []
|
||||||
|
|
||||||
wles = WaitingListEntry.objects.filter(event=sender)
|
wles = WaitingListEntry.objects.filter(event=sender, voucher__isnull=True)
|
||||||
if wles.count():
|
if wles.count():
|
||||||
quota_cache = {}
|
quota_cache = {}
|
||||||
itemvar_cache = {}
|
itemvar_cache = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user