mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Questions: Add SubEvent-Filter; Renew Filter-Form Layout (Z#23168996) (#4538)
This commit is contained in:
@@ -661,6 +661,10 @@ class QuestionView(EventPermissionRequiredMixin, QuestionMixin, ChartContainingV
|
||||
question=self.object, orderposition__isnull=False,
|
||||
orderposition__order__event=self.request.event
|
||||
)
|
||||
|
||||
if self.request.GET.get("subevent", "") != "":
|
||||
qs = qs.filter(orderposition__subevent=self.request.GET["subevent"])
|
||||
|
||||
s = self.request.GET.get("status", "np")
|
||||
if s != "":
|
||||
if s == 'o':
|
||||
|
||||
Reference in New Issue
Block a user