diff options
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) |