aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/history.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-17 06:56:38 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-17 06:56:38 +0100
commit264c916b1e83a3f429c87a14d69c45e87a5afbd0 (patch)
treef33b01bbfaf92eb9c7a351441f1ab6632be3f054 /pyaggr3g470r/templates/history.html
parentImprovements to the 'history' page. (diff)
downloadnewspipe-264c916b1e83a3f429c87a14d69c45e87a5afbd0.tar.gz
newspipe-264c916b1e83a3f429c87a14d69c45e87a5afbd0.tar.bz2
newspipe-264c916b1e83a3f429c87a14d69c45e87a5afbd0.zip
Reverse the sort of articles.
Diffstat (limited to 'pyaggr3g470r/templates/history.html')
-rw-r--r--pyaggr3g470r/templates/history.html2
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 %}
bgstack15