Procházet zdrojové kódy

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

jeremystretch před 3 roky
rodič
revize
250265c3d9

+ 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
 * [#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(
         required=False,
-        label='Select Speed',
-        widget=SelectSpeedWidget(attrs={'readonly': None})
+        label='Speed',
+        widget=SelectSpeedWidget()
     )
     duplex = MultipleChoiceField(
         choices=InterfaceDuplexChoices,