mirror of
https://github.com/pretix/pretix.git
synced 2026-09-12 16:04:42 +00:00
Update src/pretix/presale/views/organizer.py
Co-authored-by: Richard Schreiber <schreiber@pretix.eu>
This commit is contained in:
co-authored by
Richard Schreiber
parent
07a0d78a36
commit
e4af51f207
@@ -604,7 +604,7 @@ def filter_subevents_with_plugins(subevents, sales_channel=None):
|
||||
def should_hide_subevent(settings, subevent, voucher=None):
|
||||
hide = False
|
||||
if settings.event_list_available_only:
|
||||
hide = hide or (
|
||||
hide = (
|
||||
# Presale is over → the subevent is not available → hide
|
||||
subevent.presale_has_ended or
|
||||
# Not a single product is available on this sales channel → hide
|
||||
|
||||
Reference in New Issue
Block a user