aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/feed.py2
-rw-r--r--src/web/views/user.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py
index 9fa4b089..297b5521 100644
--- a/src/web/views/feed.py
+++ b/src/web/views/feed.py
@@ -26,7 +26,7 @@ feed_bp = Blueprint('feed', __name__, url_prefix='/feed')
@login_required
@etag_match
def feeds():
- "Lists the subscribed feeds in a table."
+ "Lists the subscribed feeds in a table."
art_contr = ArticleController(current_user.id)
return render_template('feeds.html',
feeds=FeedController(current_user.id).read().order_by('title'),
diff --git a/src/web/views/user.py b/src/web/views/user.py
index c9c23ca7..534e1ded 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -37,7 +37,7 @@ def profile_public(nickname=None):
filters['private'] = False
if category_id:
filters['category_id'] = category_id
- feeds = FeedController(user.id).read(**filters).all()
+ feeds = FeedController(user.id).read(**filters).order_by('title')
"""word_size = 6
filters = {}
bgstack15