Fix bugs in topic todo

This commit is contained in:
rubenwardy
2018-12-25 16:43:41 +00:00
parent daded6d193
commit c726f56b3e
2 changed files with 2 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ def todo_page():
topics_to_add = ForumTopic.query \
.filter(~ db.exists().where(Package.forums==ForumTopic.topic_id)) \
.filter_by(discarded=False) \
.count()
return render_template("todo/list.html", title="Reports and Work Queue",