diff --git a/app.py b/app.py index d63c967..5de4e45 100755 --- a/app.py +++ b/app.py @@ -189,7 +189,7 @@ def property_query_page(property_id): page = utils.get_int_arg('page') or 1 total = q.count() - page_size = 50 + page_size = 100 pager = Pagination(page, page_size, total) page_hits = pager.slice(q) diff --git a/templates/browse_index.html b/templates/browse_index.html index b61f756..518ae8d 100644 --- a/templates/browse_index.html +++ b/templates/browse_index.html @@ -11,13 +11,14 @@ | connect to Wikidata account {% endif %}
- #} {% if not g.user %}This tool must be connected with Wikidata to work.
Connect with Wikidata {% endif %} + #} +
Sort order: {% if order == 'name' %} name or count @@ -16,6 +17,7 @@ name or count {% endif %}
+ #}Total: {{ '{:,d}'.format(pager.total_count) }}