Bug 40873: AV dropdowns in OPAC don't use lib_opac
To test (ktd): - Sign into the admin side - Go to Administration > Authorized Values - Edit or add to SUGGEST_FORMAT such that one AV has a different lib_opac - Sign into the public catalog - Go to purchase suggestions /cgi-bin/koha/opac-suggestions.pl?op=add_form - Note that the AV in the 'Item type' dropdown does not use your lib_opac text - Apply the patch and refresh the page - Now the AV uses the lib_opac text Sponsored-By: California College of the Arts Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commitff461167fd) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commit91b362041e) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
c252e49a05
commit
535c4ab33a
|
|
@ -19,11 +19,7 @@
|
|||
<option value="">None</option>
|
||||
[% END %]
|
||||
[% FOR av IN avs %]
|
||||
[% IF av.authorised_value == default %]
|
||||
<option value="[% av.authorised_value | html %]" selected="selected">[% av.lib | html_entity %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% av.authorised_value | html %]">[% av.lib | html_entity %]</option>
|
||||
[% END %]
|
||||
<option value="[% av.authorised_value | html %]" [% IF av.authorised_value == default %]selected="selected"[% END %]>[% IF av.lib_opac %][% av.lib_opac | html_entity %][% ELSE %][% av.lib | html_entity %][% END %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
[% ELSE %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue