mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Fix ignore_for_event_availability in SubEvent bulk editor
This commit is contained in:
@@ -1207,7 +1207,7 @@ class SubEventBulkEdit(SubEventQueryMixin, EventPermissionRequiredMixin, FormVie
|
|||||||
change_data = {k: f.cleaned_data.get(k) for k in f.changed_data}
|
change_data = {k: f.cleaned_data.get(k) for k in f.changed_data}
|
||||||
for se in subevents:
|
for se in subevents:
|
||||||
q = list(se.checkinlist_set.all())[qidx]
|
q = list(se.checkinlist_set.all())[qidx]
|
||||||
for fname in ('name', 'all_products', 'include_pending', 'allow_entry_after_exit'):
|
for fname in ('name', 'all_products', 'include_pending', 'allow_entry_after_exit', 'ignore_for_event_availability'):
|
||||||
setattr(q, fname, f.cleaned_data.get(fname))
|
setattr(q, fname, f.cleaned_data.get(fname))
|
||||||
q.save()
|
q.save()
|
||||||
if 'limit_products' in f.changed_data:
|
if 'limit_products' in f.changed_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user