aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-01-04 14:05:13 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-01-04 14:05:13 +0100
commitb30d13697e717af24533933c605ab05ae04974fa (patch)
tree99d3718b4c682f59eb0c5cb95df6775e049d3db9 /src/web/templates
parentFixed path to the log in the default configuration file. (diff)
downloadnewspipe-b30d13697e717af24533933c605ab05ae04974fa.tar.gz
newspipe-b30d13697e717af24533933c605ab05ae04974fa.tar.bz2
newspipe-b30d13697e717af24533933c605ab05ae04974fa.zip
Sort by year.
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/history.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/templates/history.html b/src/web/templates/history.html
index 6be54d71..499fe50b 100644
--- a/src/web/templates/history.html
+++ b/src/web/templates/history.html
@@ -10,7 +10,7 @@
<h3>{{ year }}</h3>
{% endif %}
<ul class="list-group">
- {% for article in articles_counter %}
+ {% for article in articles_counter | sort(reverse = True) %}
{% if year == None %}
<li class="list-group-item"><a href="/history/{{ article }}">{{ article }}</a> : {{ articles_counter[article] }} articles</li>
{% elif month == None %}
bgstack15