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

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

This commit is contained in:
jeremystretch
2022-07-15 15:40:55 -04:00
parent e07dd3ddcb
commit 250265c3d9
2 changed files with 3 additions and 2 deletions

View File

@ -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
---

View File

@ -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,