diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-10-12 21:56:48 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2016-01-26 23:46:31 +0100 |
commit | 2ca3246de2b7b54452ba7d996064ae32258f9cd3 (patch) | |
tree | 54c49c2b94827b90b379ae3748561ef39cfb2026 /src/web/views | |
parent | adding, improving UI to manage categories (diff) | |
download | newspipe-2ca3246de2b7b54452ba7d996064ae32258f9cd3.tar.gz newspipe-2ca3246de2b7b54452ba7d996064ae32258f9cd3.tar.bz2 newspipe-2ca3246de2b7b54452ba7d996064ae32258f9cd3.zip |
fixing sqlalchemy resolving warning
Diffstat (limited to 'src/web/views')
-rw-r--r-- | src/web/views/feed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py index e1c2fb55..187fd4c2 100644 --- a/src/web/views/feed.py +++ b/src/web/views/feed.py @@ -49,7 +49,7 @@ def feed(feed_id=None): category = CategoryController(g.user.id).get(id=feed.category_id) articles = ArticleController(g.user.id) \ .read(feed_id=feed_id) \ - .order_by(desc("Article.date")).all() + .order_by(desc("date")).all() top_words = utils.top_words(articles, n=50, size=int(word_size)) tag_cloud = utils.tag_cloud(top_words) |