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

Add contact_group to ContactModelFilterSet

This commit is contained in:
kkthxbye-code
2022-05-14 17:48:37 +02:00
parent f415d81049
commit aba4e03d3b
5 changed files with 20 additions and 9 deletions

View File

@@ -58,3 +58,8 @@ class ContactModelFilterForm(forms.Form):
required=False,
label=_('Contact Role')
)
contact_group = DynamicModelMultipleChoiceField(
queryset=ContactGroup.objects.all(),
required=False,
label=_('Contact Group')
)