mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Order overview: Try to make linked filters behave as expected for line-level cancellations (Z#23203500)
This commit is contained in:
@@ -2575,6 +2575,11 @@ class OverView(EventPermissionRequiredMixin, TemplateView):
|
||||
self.request.event,
|
||||
fees=True
|
||||
)
|
||||
ctx['subevent'] = (
|
||||
self.request.event.has_subevents and
|
||||
self.filter_form.is_valid() and
|
||||
self.filter_form.cleaned_data.get('subevent')
|
||||
)
|
||||
ctx['subevent_warning'] = (
|
||||
self.request.event.has_subevents and
|
||||
self.filter_form.is_valid() and
|
||||
|
||||
Reference in New Issue
Block a user