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>
This commit is contained in:
parent
2ea04163a3
commit
ff461167fd
|
|
@ -15,7 +15,7 @@
|
|||
<option value="">None</option>
|
||||
[% END %]
|
||||
[% FOR av IN avs %]
|
||||
<option value="[% av.authorised_value | html %]" [% IF av.authorised_value == default %]selected="selected"[% END %]>[% av.lib | html_entity %]</option>
|
||||
<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