From 535c4ab33a0bf6487ca7768cb9c8a9e331a100f9 Mon Sep 17 00:00:00 2001 From: phette23 Date: Wed, 24 Sep 2025 12:49:22 -0700 Subject: [PATCH] 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 Signed-off-by: Baptiste Wojtkowski Signed-off-by: Lucas Gass (cherry picked from commit ff461167fd9fbef394340b2eecc9993137cd3919) Signed-off-by: Paul Derscheid (cherry picked from commit 91b362041ec0fe4ee230b310407e369d56aa4e39) Signed-off-by: Fridolin Somers --- .../opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc index 2c2ebeac50..492e64b41f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc @@ -19,11 +19,7 @@ [% END %] [% FOR av IN avs %] - [% IF av.authorised_value == default %] - - [% ELSE %] - - [% END %] + [% END %] [% ELSE %]