diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-07-06 23:15:56 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-07-06 23:17:56 +0100 |
| commit | 67a229b8a3152329917a0e783822c71d4a53d978 (patch) | |
| tree | c8eac9da8f906dfd92c6bc90833ddee367933b81 /app/views | |
| parent | 9dd3570a52027ecb8e84dacb87d66fc511812c3c (diff) | |
| download | cheatdb-67a229b8a3152329917a0e783822c71d4a53d978.tar.xz | |
Add WIP forum topic support
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/packages/todo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/packages/todo.py b/app/views/packages/todo.py index 84cfef4..314c374 100644 --- a/app/views/packages/todo.py +++ b/app/views/packages/todo.py @@ -58,7 +58,7 @@ def todo_topics_page(): topics = ForumTopic.query \ .filter(~ db.exists().where(Package.forums==ForumTopic.topic_id)) \ - .order_by(db.asc(ForumTopic.name), db.asc(ForumTopic.title)) \ + .order_by(db.asc(ForumTopic.wip), db.asc(ForumTopic.name), db.asc(ForumTopic.title)) \ .all() return render_template("todo/topics.html", topics=topics, total=total) |
