Bug 25014: Fix capitalization for "Call Number" in staff and OPAC sort options

There are some ocurrences of "Call Number" in the sort option lists in
staff and OPAC. The patch changes them to "Call number".

To test:
- Check the sort option list in staff and OPAC for the typo
- Apply patch
- Verify it's now all corrected

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit b85e53dccb)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Katrin Fischer 2020-03-28 01:05:14 +01:00 committed by Lucas Gass
parent 3c4e03fbcd
commit 8c81690d44
3 changed files with 5 additions and 5 deletions

View File

@ -30,10 +30,10 @@
</optgroup>
<optgroup label="Call Number">
<optgroup label="Call number">
[% IF ( sort_by == "call_number_asc" ) %]
<option value="call_number_asc" selected="selected">Call Number (0-9 to A-Z)</option>
<option value="call_number_asc" selected="selected">Call number (0-9 to A-Z)</option>
[% ELSE %]
<option value="call_number_asc">Call number (0-9 to A-Z)</option>
[% END %]

View File

@ -206,9 +206,9 @@
<li class="dropdown-header">Call number</li>
[% IF ( sort_by == "call_number_asc" ) %]
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call Number (0-9 to A-Z)</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=call_number_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call number (0-9 to A-Z)</a></li>
[% ELSE %]
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]">Call Number (0-9 to A-Z)</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=call_number_asc[% PROCESS sort_search_query %]">Call number (0-9 to A-Z)</a></li>
[% END %]
[% IF ( sort_by == "call_number_dsc" ) %]

View File

@ -23,7 +23,7 @@
<option value="author_za">Author (Z-A)</option>
[% END %]
</optgroup>
<optgroup label="Call Number">
<optgroup label="Call number">
[% IF ( sort_by == "call_number_asc" ) %]
<option value="call_number_asc" selected="selected">Call number (0-9 to A-Z)</option>
[% ELSE %]