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

Closes #2782: Add is_pool field for prefix filtering

This commit is contained in:
Jeremy Stretch
2019-01-17 16:02:16 -05:00
parent a950c95416
commit bd74e2f30b
2 changed files with 8 additions and 0 deletions

View File

@ -570,6 +570,13 @@ class PrefixFilterForm(BootstrapMixin, CustomFieldFilterForm):
null_option=True,
)
)
is_pool = forms.NullBooleanField(
required=False,
label='Is a pool',
widget=StaticSelect2(
choices=BOOLEAN_WITH_BLANK_CHOICES
)
)
expand = forms.BooleanField(
required=False,
label='Expand prefix hierarchy'