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

@ -10,7 +10,7 @@ Topics to be Added
{% if n >= 10000 %}
<a class="btn btn-primary"
href="{{ url_for('todo_topics_page', q=query, show_discarded=show_discarded, n=100, sort=sort_by) }}">
Paginiated List
Paginated List
</a>
{% else %}
<a class="btn btn-primary"

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",