aboutsummaryrefslogtreecommitdiff
path: root/app/views/users.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-06-02 19:41:13 +0100
committerrubenwardy <rw@rubenwardy.com>2018-06-02 19:41:13 +0100
commit3657316fa23e85b82b4259b2f993e020309c7f24 (patch)
treefeba56051cff65335e93ef96067fd9209674031d /app/views/users.py
parenta6f4249afb7018c43e69a7e7c7e69e53bf04aa8d (diff)
downloadcheatdb-3657316fa23e85b82b4259b2f993e020309c7f24.tar.xz
Clean up todo topics related HTML
Diffstat (limited to 'app/views/users.py')
-rw-r--r--app/views/users.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/users.py b/app/views/users.py
index 86219f9..51efd1d 100644
--- a/app/views/users.py
+++ b/app/views/users.py
@@ -101,6 +101,7 @@ def user_profile_page(username):
topics_to_add = KrockForumTopic.query \
.filter_by(author_id=user.id) \
.filter(~ db.exists().where(Package.forums==KrockForumTopic.topic_id)) \
+ .order_by(db.asc(KrockForumTopic.title)) \
.all()
# Process GET or invalid POST