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

Merge pull request #3896 from hSaria/3895-elevations-keyerror

Fixes #3895: Elevations filter regression
This commit is contained in:
Jeremy Stretch
2020-01-13 09:44:57 -05:00
committed by GitHub

View File

@ -739,7 +739,7 @@ class RackElevationFilterForm(RackFilterForm):
# Filter the rack field based on the site and group # Filter the rack field based on the site and group
self.fields['site'].widget.add_filter_for('id', 'site') self.fields['site'].widget.add_filter_for('id', 'site')
self.fields['rack_group_id'].widget.add_filter_for('id', 'group_id') self.fields['group_id'].widget.add_filter_for('id', 'group_id')
# #