Browse Source

Fixes #3895: Elevations filter regression

Saria Hajjar 6 years ago
parent
commit
422c6bad5b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/dcim/forms.py

+ 1 - 1
netbox/dcim/forms.py

@@ -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')
 
 
 
 
 #
 #