From 6cefb36995b260e23840bd3891f5a8f976e5ff82 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 16 Aug 2022 20:09:32 -1000 Subject: [PATCH] Bug 31379: Change results per page text for default MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since Bug 14715, one can change number of results per page. The actual text in combobox for default value is : "Library default: 20" This text is hard to translate correctly. For example french translation use "site par défaut" wrongly meaning "default library". I propose to simply use "20 (defaut)". Test plan : 1) Go to system preferences and set both 'numSearchResultsDropdown' and 'OPACnumSearchResultsDropdown' to 'Show' 2) Do a catalogue search in the intranet using a search term that will bring lots of results 3) Look at restults per page combobox 4) Same for OPAC Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 29ad53a682f339a6d9fea028b1951898c6dff662) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index dd43a8b6f9..ae78e1652e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -301,7 +301,7 @@
  • [% IF results_per_page == Koha.Preference('numSearchResults') %] - [% END %] Library default: [% Koha.Preference('numSearchResults') | html %] + [% END %] [% Koha.Preference('numSearchResults') | html %] (default)
  • [% END %]
  • [% IF results_per_page == '20' %][% END %] 20
  • diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 7bf913b5c1..b8e0d4844a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -181,9 +181,9 @@