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

Closes #4209: Enable filtering interfaces list view by enabled

This commit is contained in:
Jeremy Stretch
2020-02-20 14:24:22 -05:00
parent 74e3e2e5e1
commit c0052eb416
3 changed files with 10 additions and 2 deletions

View File

@ -2821,6 +2821,12 @@ class PowerOutletBulkDisconnectForm(ConfirmationForm):
class InterfaceFilterForm(DeviceComponentFilterForm):
model = Interface
enabled = forms.NullBooleanField(
required=False,
widget=StaticSelect2(
choices=BOOLEAN_WITH_BLANK_CHOICES
)
)
tag = TagFilterField(model)