Explorar el Código

Fixes #3895: Elevations filter regression

Saria Hajjar hace 6 años
padre
commit
422c6bad5b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
         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')
 
 
 #