Update src/pretix/presale/views/organizer.py

Co-authored-by: Richard Schreiber <schreiber@pretix.eu>
This commit is contained in:
Raphael Michel
2026-09-02 18:02:19 +02:00
committed by GitHub
co-authored by Richard Schreiber
parent 07a0d78a36
commit e4af51f207
+1 -1
View File
@@ -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