Jeremy Stretch 5 лет назад
Родитель
Сommit
ba138de53b
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      netbox/templates/extras/inc/tags_panel.html
  2. 1 1
      netbox/utilities/tables.py

+ 1 - 1
netbox/templates/extras/inc/tags_panel.html

@@ -4,7 +4,7 @@
         <strong>Tags</strong>
     </div>
     <div class="panel-body">
-        {% for tag in tags.unrestricted %}
+        {% for tag in tags.all %}
             {% tag tag url %}
         {% empty %}
             <span class="text-muted">No tags assigned</span>

+ 1 - 1
netbox/utilities/tables.py

@@ -151,7 +151,7 @@ class TagColumn(tables.TemplateColumn):
     Display a list of tags assigned to the object.
     """
     template_code = """
-    {% for tag in value.all.unrestricted %}
+    {% for tag in value.all %}
         {% include 'utilities/templatetags/tag.html' %}
     {% empty %}
         <span class="text-muted">&mdash;</span>