From 1354743deda348f28bb02affc6cad2d3397217c1 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 18 Dec 2019 19:00:26 +0000 Subject: [PATCH] Increase property page size. --- app.py | 2 +- templates/browse_index.html | 3 ++- templates/property.html | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) 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 %} + #} +