diff options
Diffstat (limited to 'pyaggr3g470r/templates/history.html')
-rw-r--r-- | pyaggr3g470r/templates/history.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/history.html b/pyaggr3g470r/templates/history.html index c4d6c9a6..b01ca032 100644 --- a/pyaggr3g470r/templates/history.html +++ b/pyaggr3g470r/templates/history.html @@ -16,7 +16,7 @@ {% elif month == None %} <li class="list-group-item"><a href="/history/{{ year }}/{{ article }}">{{ article | month_name }}</a> : {{ articles_counter[article] }} articles</li> {% else %} - {% for article in articles | sort(attribute="date") %} + {% for article in articles | sort(attribute="date", reverse = True) %} <li class="list-group-item">{{ article.date }} - <a href="/article/{{ article.id }}">{{ article.title | safe }}</a></li> {% endfor %} {% endif %} |