|
@@ -423,7 +423,7 @@ class FHRPGroupFilterForm(NetBoxModelFilterSetForm):
|
|
|
class VLANGroupFilterForm(NetBoxModelFilterSetForm):
|
|
class VLANGroupFilterForm(NetBoxModelFilterSetForm):
|
|
|
fieldsets = (
|
|
fieldsets = (
|
|
|
FieldSet('q', 'filter_id', 'tag'),
|
|
FieldSet('q', 'filter_id', 'tag'),
|
|
|
- FieldSet('region', 'sitegroup', 'site', 'location', 'rack', name=_('Location')),
|
|
|
|
|
|
|
+ FieldSet('region', 'site_group', 'site', 'location', 'rack', name=_('Location')),
|
|
|
FieldSet('cluster_group', 'cluster', name=_('Cluster')),
|
|
FieldSet('cluster_group', 'cluster', name=_('Cluster')),
|
|
|
FieldSet('contains_vid', name=_('VLANs')),
|
|
FieldSet('contains_vid', name=_('VLANs')),
|
|
|
)
|
|
)
|
|
@@ -433,7 +433,7 @@ class VLANGroupFilterForm(NetBoxModelFilterSetForm):
|
|
|
required=False,
|
|
required=False,
|
|
|
label=_('Region')
|
|
label=_('Region')
|
|
|
)
|
|
)
|
|
|
- sitegroup = DynamicModelMultipleChoiceField(
|
|
|
|
|
|
|
+ site_group = DynamicModelMultipleChoiceField(
|
|
|
queryset=SiteGroup.objects.all(),
|
|
queryset=SiteGroup.objects.all(),
|
|
|
required=False,
|
|
required=False,
|
|
|
label=_('Site group')
|
|
label=_('Site group')
|