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

Closes #7011: Add search field to VM interfaces filter form

This commit is contained in:
jeremystretch
2021-08-23 09:36:05 -04:00
parent 1fc3c6d9d2
commit 8131feae8a
2 changed files with 5 additions and 0 deletions

View File

@ -834,6 +834,10 @@ class VMInterfaceBulkRenameForm(BulkRenameForm):
class VMInterfaceFilterForm(BootstrapMixin, forms.Form):
model = VMInterface
q = forms.CharField(
required=False,
label=_('Search')
)
cluster_id = DynamicModelMultipleChoiceField(
queryset=Cluster.objects.all(),
required=False,