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

#7853 - Change Duplex Filterset to allow multivalues

This commit is contained in:
Daniel Sheppard
2022-01-20 13:58:11 -06:00
parent 375a140343
commit 5f8870d448
2 changed files with 6 additions and 3 deletions

View File

@@ -947,10 +947,11 @@ class InterfaceFilterForm(DeviceComponentFilterForm):
label='Select Speed',
widget=SelectSpeedWidget(attrs={'readonly': None})
)
duplex = forms.ChoiceField(
duplex = forms.MultipleChoiceField(
choices=InterfaceDuplexChoices,
required=False,
label='Select Duplex'
label='Select Duplex',
widget=StaticSelectMultiple()
)
enabled = forms.NullBooleanField(
required=False,