File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,15 @@ class AccessListFilterForm(NetBoxModelFilterSetForm):
55
55
site = DynamicModelChoiceField (
56
56
queryset = Site .objects .all (),
57
57
required = False ,
58
+ query_params = {
59
+ "region_id" : "$region" ,
60
+ "group_id" : "$site_group"
61
+ }
58
62
)
59
63
device = DynamicModelChoiceField (
60
64
queryset = Device .objects .all (),
61
65
query_params = {
62
- "region " : "$region" ,
66
+ "region_id " : "$region" ,
63
67
"group_id" : "$site_group" ,
64
68
"site_id" : "$site" ,
65
69
},
@@ -119,11 +123,15 @@ class ACLInterfaceAssignmentFilterForm(NetBoxModelFilterSetForm):
119
123
site = DynamicModelChoiceField (
120
124
queryset = Site .objects .all (),
121
125
required = False ,
126
+ query_params = {
127
+ "region_id" : "$region" ,
128
+ "group_id" : "$site_group"
129
+ }
122
130
)
123
131
device = DynamicModelChoiceField (
124
132
queryset = Device .objects .all (),
125
133
query_params = {
126
- "region " : "$region" ,
134
+ "region_id " : "$region" ,
127
135
"group_id" : "$site_group" ,
128
136
"site_id" : "$site" ,
129
137
},
You can’t perform that action at this time.
0 commit comments