diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-11 18:04:05 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-11 18:04:05 +0100 |
commit | e055d147c3ac04ab7459cd19a15143ad7069bc4f (patch) | |
tree | 32f2ea964fadd5fd0679cd238713cc14e92f5c43 /pyaggr3g470r/templates/feeds.html | |
parent | Create directory recursively. (diff) | |
download | newspipe-e055d147c3ac04ab7459cd19a15143ad7069bc4f.tar.gz newspipe-e055d147c3ac04ab7459cd19a15143ad7069bc4f.tar.bz2 newspipe-e055d147c3ac04ab7459cd19a15143ad7069bc4f.zip |
Sort feeds by title with Jinja sort() function.
Diffstat (limited to 'pyaggr3g470r/templates/feeds.html')
-rw-r--r-- | pyaggr3g470r/templates/feeds.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html index ce9f658e..b2009fac 100644 --- a/pyaggr3g470r/templates/feeds.html +++ b/pyaggr3g470r/templates/feeds.html @@ -15,7 +15,7 @@ </tr> </thead> <tbody> - {% for feed in feeds %} + {% for feed in feeds|sort(attribute="title") %} <tr> <td>{{ loop.index }}</td> <td><a href="/feed/{{ feed.oid }}">{{ feed.title }}</a></td> |