diff options
Diffstat (limited to 'src/web')
-rw-r--r-- | src/web/templates/feed_list.html | 2 | ||||
-rw-r--r-- | src/web/views/feed.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/web/templates/feed_list.html b/src/web/templates/feed_list.html index 2e7e8e71..093ed631 100644 --- a/src/web/templates/feed_list.html +++ b/src/web/templates/feed_list.html @@ -12,7 +12,7 @@ </tr> </thead> <tbody> - {% for feed in feeds|sort(attribute="title") %} + {% for feed in feeds %} <tr {% if not feed.enabled %}class="warning"{% endif %}> <td>{{ loop.index }}</td> <td> diff --git a/src/web/views/feed.py b/src/web/views/feed.py index 69e093b2..b6e0974a 100644 --- a/src/web/views/feed.py +++ b/src/web/views/feed.py @@ -29,7 +29,7 @@ def feeds(): "Lists the subscribed feeds in a table." art_contr = ArticleController(current_user.id) return render_template('feeds.html', - feeds=FeedController(current_user.id).read(), + feeds=FeedController(current_user.id).read().order_by('title'), unread_article_count=art_contr.count_by_feed(readed=False), article_count=art_contr.count_by_feed()) |