Fix bug in bulk-event editor

This commit is contained in:
Raphael Michel
2021-04-13 14:15:24 +02:00
parent d48e2bc084
commit 92bf93ca0a

View File

@@ -1116,7 +1116,7 @@ class SubEventBulkEdit(SubEventQueryMixin, EventPermissionRequiredMixin, FormVie
if 'limit_products' in f.changed_data: if 'limit_products' in f.changed_data:
q.limit_products.set(f.cleaned_data.get('limit_products', [])) q.limit_products.set(f.cleaned_data.get('limit_products', []))
if 'gates' in f.changed_data: if 'gates' in f.changed_data:
q.gates.set(f.cleaned_data.get('limit_products', [])) q.gates.set(f.cleaned_data.get('gates', []))
log_entries.append( log_entries.append(
q.log_action(action='pretix.event.checkinlist.changed', user=self.request.user, q.log_action(action='pretix.event.checkinlist.changed', user=self.request.user,
data=change_data, save=False) data=change_data, save=False)