From fc0fb1cf4603ba56205754e1601f22d7436751c1 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 22 Sep 2020 16:19:42 -0400 Subject: [PATCH] Revert "add last page" This reverts commit 8cc8bc8d5ae9755919edb24797de686d2662e971. --- BaseSearcher.py | 2 +- templates/results.html | 4 ---- templates/site-layout.html | 5 ----- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/BaseSearcher.py b/BaseSearcher.py index f4e5882..d1ffc41 100644 --- a/BaseSearcher.py +++ b/BaseSearcher.py @@ -887,7 +887,7 @@ class SQLSearcher(object): sql.sort_order = os.sort_order sql.start_index = os.start_index - #sql.items_per_page = os.items_per_page + sql.items_per_page = os.items_per_page query, params = sql.build() query += ' -- ' + os.ip diff --git a/templates/results.html b/templates/results.html index 5decfea..ca13f82 100644 --- a/templates/results.html +++ b/templates/results.html @@ -56,10 +56,6 @@ which contains *all* Project Gutenberg metadata in one RDF/XML file. rel="next" title="Next Page" href="${os.url ('search', start_index = os.next_page_index)}" /> - diff --git a/templates/site-layout.html b/templates/site-layout.html index 5604a77..e07a774 100644 --- a/templates/site-layout.html +++ b/templates/site-layout.html @@ -149,11 +149,6 @@ accesskey="+" href="${os.url_carry (start_index = os.next_page_index)}">Next - | - Next -