diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-05 11:35:28 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-05 11:35:28 +0100 |
commit | 259aab6539fb75d6acdcb024a48b9341822278f4 (patch) | |
tree | 21cf38590b1c385e072bb6b011df4b743f6a545e | |
parent | Disable the feed when more than 2 erros (test). (diff) | |
download | newspipe-259aab6539fb75d6acdcb024a48b9341822278f4.tar.gz newspipe-259aab6539fb75d6acdcb024a48b9341822278f4.tar.bz2 newspipe-259aab6539fb75d6acdcb024a48b9341822278f4.zip |
The side menu of the main page now displays all the feeds.
-rw-r--r-- | pyaggr3g470r/views/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |