diff options
-rw-r--r-- | app/templates/todo/topics.html | 2 | ||||
-rw-r--r-- | app/views/packages/todo.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/templates/todo/topics.html b/app/templates/todo/topics.html index 8b39b8e..5d3e7f9 100644 --- a/app/templates/todo/topics.html +++ b/app/templates/todo/topics.html @@ -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" diff --git a/app/views/packages/todo.py b/app/views/packages/todo.py index 2742f6d..803ae44 100644 --- a/app/views/packages/todo.py +++ b/app/views/packages/todo.py @@ -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", |