1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #331: Add group field to VLAN bulk edit form

This commit is contained in:
Jeremy Stretch
2016-07-19 11:11:16 -04:00
parent 82ad479037
commit 783341017f
2 changed files with 2 additions and 1 deletions

View File

@@ -565,7 +565,7 @@ class VLANBulkEditView(PermissionRequiredMixin, BulkEditView):
def update_objects(self, pk_list, form):
fields_to_update = {}
for field in ['site', 'status', 'role']:
for field in ['site', 'group', 'status', 'role']:
if form.cleaned_data[field]:
fields_to_update[field] = form.cleaned_data[field]