Bug 41054: Sort metadata keys alphabetically case insensitive
This coincidentally+nicely puts eISSN before ISSN on the 'manage request page' while keeping the rest of the order as before Test plan: 1) Enable ILLModule 2) Create a new ILL request, visit: <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 3) Pick type one of 'journal article', 'conference', 'journal', 'generic resource' 4) Enter cardnumber, library, eISSN and other data if you want 5) Notice 'eISSN' shows on the 'Manage request' page. 6) Test again by creating an OPAC request, visit: <opac_url>/cgi-bin/koha/opac-illrequests.pl?op=add_form&backend=Standard Signed-off-by: Richard Bridgen <Richard.Bridgen@nhs.net> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
d8989fe57f
commit
32ea6abb1e
|
|
@ -750,11 +750,12 @@
|
|||
<div class="rows">
|
||||
<h4>Details from supplier ([% request.backend | html %])</h4>
|
||||
<ol>
|
||||
[% FOREACH meta IN request.metadata %]
|
||||
[% IF meta.value %]
|
||||
<li class="requestmeta-[% meta.key.replace('\s','_') | html %]">
|
||||
<span class="label">[% meta.key.replace('_',' ') | html %]:</span>
|
||||
[% meta.value | html %]
|
||||
[% FOREACH meta IN request.metadata.keys.sort('lower') %]
|
||||
[% val = request.metadata.${meta} %]
|
||||
[% IF val %]
|
||||
<li class="requestmeta-[% meta.replace('\s','_') | html %]">
|
||||
<span class="label">[% meta.replace('_',' ') | html %]:</span>
|
||||
[% val | html %]
|
||||
</li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue