Explorar el Código

Fixes #5095: Fix display of assigned prefixes in VLANs list

Jeremy Stretch hace 5 años
padre
commit
de081d0205
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/ipam/tables.py

+ 1 - 1
netbox/ipam/tables.py

@@ -99,7 +99,7 @@ VLAN_LINK = """
 """
 
 VLAN_PREFIXES = """
-{% for prefix in record.prefixes.unrestricted %}
+{% for prefix in record.prefixes.all %}
     <a href="{% url 'ipam:prefix' pk=prefix.pk %}">{{ prefix }}</a>{% if not forloop.last %}<br />{% endif %}
 {% empty %}
     &mdash;