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

Replicate 'max length' field in PrefixFilterForm for consistency

This commit is contained in:
Jeremy Stretch
2020-08-06 09:20:20 -04:00
parent c36d8b2256
commit 0f397fa410
2 changed files with 32 additions and 26 deletions

View File

@ -437,6 +437,9 @@ class PrefixFilterForm(BootstrapMixin, TenancyFilterForm, CustomFieldFilterForm)
'q', 'within_include', 'family', 'mask_length', 'vrf_id', 'status', 'region', 'site', 'role', 'tenant_group',
'tenant', 'is_pool', 'expand',
]
mask_length__lte = forms.IntegerField(
widget=forms.HiddenInput()
)
q = forms.CharField(
required=False,
label='Search'