Explorar o código

Fixes #9746: Permit filtering interfaces by arbitrary speed value in UI

jeremystretch %!s(int64=3) %!d(string=hai) anos
pai
achega
250265c3d9
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 1 0
      docs/release-notes/version-3.2.md
  2. 2 2
      netbox/dcim/forms/filtersets.py

+ 1 - 0
docs/release-notes/version-3.2.md

@@ -11,6 +11,7 @@
 
 
 * [#9715](https://github.com/netbox-community/netbox/issues/9715) - Fix `SOCIAL_AUTH_PIPELINE` config parameter not taking effect
 * [#9715](https://github.com/netbox-community/netbox/issues/9715) - Fix `SOCIAL_AUTH_PIPELINE` config parameter not taking effect
 * [#9734](https://github.com/netbox-community/netbox/issues/9734) - Fix stealing focus by select fields in forms
 * [#9734](https://github.com/netbox-community/netbox/issues/9734) - Fix stealing focus by select fields in forms
+* [#9746](https://github.com/netbox-community/netbox/issues/9746) - Permit filtering interfaces by arbitrary speed value in UI
 
 
 ---
 ---
 
 

+ 2 - 2
netbox/dcim/forms/filtersets.py

@@ -982,8 +982,8 @@ class InterfaceFilterForm(DeviceComponentFilterForm):
     )
     )
     speed = forms.IntegerField(
     speed = forms.IntegerField(
         required=False,
         required=False,
-        label='Select Speed',
-        widget=SelectSpeedWidget(attrs={'readonly': None})
+        label='Speed',
+        widget=SelectSpeedWidget()
     )
     )
     duplex = MultipleChoiceField(
     duplex = MultipleChoiceField(
         choices=InterfaceDuplexChoices,
         choices=InterfaceDuplexChoices,