Fix ignore_for_event_availability in SubEvent bulk editor

This commit is contained in:
Raphael Michel
2021-06-02 18:24:01 +02:00
parent f1b072b9a4
commit 76e86cbdd1

View File

@@ -1207,7 +1207,7 @@ class SubEventBulkEdit(SubEventQueryMixin, EventPermissionRequiredMixin, FormVie
change_data = {k: f.cleaned_data.get(k) for k in f.changed_data}
for se in subevents:
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))
q.save()
if 'limit_products' in f.changed_data: