Commit 2a2dd119 authored by fred's avatar fred
Browse files

fix display of list of newsitems of category

parent 6748a09d
......@@ -15,7 +15,7 @@
<h3>{{ category.title }}</h3>
<ul class="newsitem-list">
{% for newsitem in category.sorted_news %}
{% for newsitem in category.get_sorted_newsitems %}
<li><a href="{% url 'newsitem-view' slug=newsitem.slug %}">{{ newsitem.title }}</a></li>
{% endfor %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment