소스 검색

Merge pull request #5097 from jeremystretch/5095-vlan-prefixes

Fixes #5095: Fix display of assigned prefixes in VLANs list
Jeremy Stretch 5 년 전
부모
커밋
b22d4cb9ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;