From b145fb0e69fc52e9e7cb3b873e84bd58a1e00776 Mon Sep 17 00:00:00 2001 From: Joseph Kennedy Date: Thu, 17 Aug 2017 21:16:33 -0400 Subject: [PATCH] Remove enabled field from IntefaceListFilterForm to test. --- netbox/dcim/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index 760a180b4..5d333c67a 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -1574,7 +1574,7 @@ class InterfaceFilterForm(BootstrapMixin, forms.Form): class InterfaceListFilterForm(BootstrapMixin, forms.Form): site = forms.ModelChoiceField(required=False, queryset=Site.objects.all(), to_field_name='slug') device = forms.ModelChoiceField(required=False, queryset=Device.objects.all(), to_field_name='slug') - enabled = forms.ChoiceField(choices=add_blank_choice(IFACE_ENABLED_CHOICES), required=False) + #enabled = forms.ChoiceField(choices=add_blank_choice(IFACE_ENABLED_CHOICES), required=False) role = FilterChoiceField( queryset=DeviceRole.objects.annotate(filter_count=Count('devices')), to_field_name='slug',