Bug 31379: Change results per page text for default
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 <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 29ad53a682)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
fa7964fcf7
commit
6cefb36995
|
|
@ -301,7 +301,7 @@
|
|||
<li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% Koha.Preference('numSearchResults') | uri %][% PROCESS sort_search_query %]" id="resultsperpage-default">
|
||||
[% IF results_per_page == Koha.Preference('numSearchResults') %]
|
||||
<i class="fa fa-check"></i>
|
||||
[% END %] Library default: [% Koha.Preference('numSearchResults') | html %]
|
||||
[% END %] [% Koha.Preference('numSearchResults') | html %] (default)
|
||||
</a></li>
|
||||
[% END %]
|
||||
<li><a href="/cgi-bin/koha/catalogue/search.pl?count=20[% PROCESS sort_search_query %]">[% IF results_per_page == '20' %]<i class="fa fa-check"></i>[% END %] 20</a></li>
|
||||
|
|
|
|||
|
|
@ -181,9 +181,9 @@
|
|||
<select id="results_per_page" name="count">
|
||||
[% IF Koha.Preference('OPACnumSearchResults') %]
|
||||
[% IF results_per_page == Koha.Preference('OPACnumSearchResults') %]
|
||||
<option value="[% Koha.Preference('OPACnumSearchResults') | html %]" selected="selected">Library default: [% Koha.Preference('OPACnumSearchResults') | html %]</option>
|
||||
<option value="[% Koha.Preference('OPACnumSearchResults') | html %]" selected="selected">[% Koha.Preference('OPACnumSearchResults') | html %] (default)</option>
|
||||
[% ELSE %]
|
||||
<option value="[% Koha.Preference('OPACnumSearchResults') | html %]">Library default: [% Koha.Preference('OPACnumSearchResults') | html %]</option>
|
||||
<option value="[% Koha.Preference('OPACnumSearchResults') | html %]">[% Koha.Preference('OPACnumSearchResults') | html %] (default)</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF results_per_page == '20' %]<option value="20" selected="selected">20</option>[% ELSE %]<option value="20">20</option>[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue