Skip to content

Commit d332a0c

Browse files
Fix sitegroup typo, VLANGroupFilterForm field didn't match between form and filterset (#18947)
1 parent f07e2dd commit d332a0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netbox/ipam/forms/filtersets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ class FHRPGroupFilterForm(NetBoxModelFilterSetForm):
423423
class VLANGroupFilterForm(NetBoxModelFilterSetForm):
424424
fieldsets = (
425425
FieldSet('q', 'filter_id', 'tag'),
426-
FieldSet('region', 'sitegroup', 'site', 'location', 'rack', name=_('Location')),
426+
FieldSet('region', 'site_group', 'site', 'location', 'rack', name=_('Location')),
427427
FieldSet('cluster_group', 'cluster', name=_('Cluster')),
428428
FieldSet('contains_vid', name=_('VLANs')),
429429
)
@@ -433,7 +433,7 @@ class VLANGroupFilterForm(NetBoxModelFilterSetForm):
433433
required=False,
434434
label=_('Region')
435435
)
436-
sitegroup = DynamicModelMultipleChoiceField(
436+
site_group = DynamicModelMultipleChoiceField(
437437
queryset=SiteGroup.objects.all(),
438438
required=False,
439439
label=_('Site group')

0 commit comments

Comments
 (0)