aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-04-16 14:24:48 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-04-16 14:24:48 +0200
commitedcfb221ecfec95ea824675863c5d76a45a585bd (patch)
tree3b60ee144d416c06b5f088e7efb31bf72b4f10d5 /pyaggr3g470r/templates/home.html
parentremoving unused template (diff)
downloadnewspipe-edcfb221ecfec95ea824675863c5d76a45a585bd.tar.gz
newspipe-edcfb221ecfec95ea824675863c5d76a45a585bd.tar.bz2
newspipe-edcfb221ecfec95ea824675863c5d76a45a585bd.zip
redoing sorting on SQL and allowing to reverse sorting
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 461b6928..10ad82cb 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -73,9 +73,9 @@
<thead>
<tr>
<th></th>
- <th><a href="{{ gen_url(sort_='feed') }}">{{ _('Feed') }}</a></th>
+ <th><a href="{{ gen_url(sort_='-feed' if sort_ == 'feed' else 'feed') }}">{{ _('Feed') }}</a></th>
<th>{{ _('Article') }}</th>
- <th><a href="{{ gen_url(sort_='date') }}">{{ _('Date') }}</a></th>
+ <th><a href="{{ gen_url(sort_='-date' if sort_ == 'date' else 'date') }}">{{ _('Date') }}</a></th>
</tr>
</thead>
<tbody>
bgstack15