mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #13721: Filter VLAN choices by selected site (if any) when creating a prefix
This commit is contained in:
@ -2,6 +2,10 @@
|
||||
|
||||
## v3.6.2 (FUTURE)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* [#13721](https://github.com/netbox-community/netbox/issues/13721) - Filter VLAN choices by selected site (if any) when creating a prefix
|
||||
|
||||
---
|
||||
|
||||
## v3.6.1 (2023-09-06)
|
||||
|
@ -215,6 +215,9 @@ class PrefixForm(TenancyForm, NetBoxModelForm):
|
||||
queryset=VLAN.objects.all(),
|
||||
required=False,
|
||||
selector=True,
|
||||
query_params={
|
||||
'site_id': '$site',
|
||||
},
|
||||
label=_('VLAN'),
|
||||
)
|
||||
role = DynamicModelChoiceField(
|
||||
|
Reference in New Issue
Block a user