aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-10-12 21:56:48 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-26 23:46:31 +0100
commit2ca3246de2b7b54452ba7d996064ae32258f9cd3 (patch)
tree54c49c2b94827b90b379ae3748561ef39cfb2026 /src/web/views
parentadding, improving UI to manage categories (diff)
downloadnewspipe-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.py2
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)
bgstack15