From 9080734227040dff353c0f78cdcaafd95a115b76 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 9 Apr 2016 09:45:56 +0200 Subject: Bug fix: unorderable types when listing the categories. --- src/web/views/category.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/views/category.py') diff --git a/src/web/views/category.py b/src/web/views/category.py index a7447775..c54ebe9b 100644 --- a/src/web/views/category.py +++ b/src/web/views/category.py @@ -19,7 +19,7 @@ def list_(): "Lists the subscribed feeds in a table." art_contr = ArticleController(current_user.id) return render_template('categories.html', - categories=list(CategoryController(current_user.id).read()), + categories=list(CategoryController(current_user.id).read().order_by('name')), feeds_count=FeedController(current_user.id).count_by_category(), unread_article_count=art_contr.count_by_category(readed=False), article_count=art_contr.count_by_category()) -- cgit