diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-01-04 14:05:13 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-01-04 14:05:13 +0100 |
commit | b30d13697e717af24533933c605ab05ae04974fa (patch) | |
tree | 99d3718b4c682f59eb0c5cb95df6775e049d3db9 /src/web/templates | |
parent | Fixed path to the log in the default configuration file. (diff) | |
download | newspipe-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.html | 2 |
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 %} |