mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Only expire orders in the evening of their expiry date
This commit is contained in:
@@ -58,7 +58,7 @@ class OrderList(EventPermissionRequiredMixin, ListView):
|
||||
if self.request.GET.get("status", "") != "":
|
||||
s = self.request.GET.get("status", "")
|
||||
if s == 'o':
|
||||
qs = qs.filter(status=Order.STATUS_PENDING, expires__lt=now())
|
||||
qs = qs.filter(status=Order.STATUS_PENDING, expires__lt=now().date())
|
||||
else:
|
||||
qs = qs.filter(status=s)
|
||||
if self.request.GET.get("item", "") != "":
|
||||
|
||||
Reference in New Issue
Block a user