aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 12:05:00 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 12:05:00 +0200
commit5b860175b5ac8071855bb0dae63eb2f9c97c5331 (patch)
treec3115441273c8e2f117895e20867aaae8a719acf /src/web/views
parentRemoved the endponint to see stats about a user. (diff)
downloadnewspipe-5b860175b5ac8071855bb0dae63eb2f9c97c5331.tar.gz
newspipe-5b860175b5ac8071855bb0dae63eb2f9c97c5331.tar.bz2
newspipe-5b860175b5ac8071855bb0dae63eb2f9c97c5331.zip
Feeds are ordered by tittle in the feeds page.
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/feed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py
index 69e093b2..b6e0974a 100644
--- a/src/web/views/feed.py
+++ b/src/web/views/feed.py
@@ -29,7 +29,7 @@ def feeds():
"Lists the subscribed feeds in a table."
art_contr = ArticleController(current_user.id)
return render_template('feeds.html',
- feeds=FeedController(current_user.id).read(),
+ feeds=FeedController(current_user.id).read().order_by('title'),
unread_article_count=art_contr.count_by_feed(readed=False),
article_count=art_contr.count_by_feed())
bgstack15