mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-08 22:17:34 +01:00
Fix bugs in topic todo
This commit is contained in:
parent
daded6d193
commit
c726f56b3e
@ -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"
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user