From 259aab6539fb75d6acdcb024a48b9341822278f4 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 5 Mar 2015 11:35:28 +0100 Subject: The side menu of the main page now displays all the feeds. --- pyaggr3g470r/views/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r') diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py index f1178f34..6e35ccfa 100644 --- a/pyaggr3g470r/views/views.py +++ b/pyaggr3g470r/views/views.py @@ -229,7 +229,7 @@ def home(): """ Home page for connected users. Displays by default unread articles. """ - feeds = {feed.id: feed.title for feed in g.user.feeds if feed.enabled} + feeds = {feed.id: feed.title for feed in g.user.feeds} articles = Article.query.filter(Article.feed_id.in_(feeds.keys()), Article.user_id == g.user.id) filter_ = request.args.get('filter_', 'unread') -- cgit