mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Comment mac_address and enabled in InterfaceListFilterForm
This commit is contained in:
parent
de9229b532
commit
2c339b1bda
@ -1574,12 +1574,12 @@ 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',
|
||||
#)
|
||||
mac_address = forms.CharField(required=False, label='MAC address')
|
||||
#mac_address = forms.CharField(required=False, label='MAC address')
|
||||
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user