Fix display of tags

This commit is contained in:
Jeremy Stretch 2020-06-24 16:27:44 -04:00
parent 2303034c92
commit ba138de53b
2 changed files with 2 additions and 2 deletions

View File

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

View File

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