Explorar el Código

Fixes: #13844 - Change site filter to use available_at_site instead of site_id

Daniel Sheppard hace 2 años
padre
commit
bb806e21f7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/ipam/forms/model_forms.py

+ 1 - 1
netbox/ipam/forms/model_forms.py

@@ -214,7 +214,7 @@ class PrefixForm(TenancyForm, NetBoxModelForm):
         required=False,
         selector=True,
         query_params={
-            'site_id': '$site',
+            'available_at_site': '$site',
         },
         label=_('VLAN'),
     )