From 25d9afbb3ac81b21d56fdb31728b2592838f7b8e Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 30 Sep 2025 13:11:43 +0000 Subject: [PATCH] Bug 40899: Fix rendering of JSON in data-attribute with html filter To test: 1. Place a hold on many items 2. Change the "Pickup at:" dropdown" to something else 3. Notice the "Pickup location:" dropdowns do not change with it 4. APPLY PATCH 5. Try steps 1 & 2 again. This time the dropdpwns should adjust accordingly Signed-off-by: Chip Halvorsen --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 6c6c27c8a0..b2ee7571f9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1195,7 +1195,7 @@ class="multi_pickup_select" data-biblio-id="[% biblioloo.biblionumber | html %]" data-patron-id="[% patron.borrowernumber | html %]" - data-pickup-locations="[% biblioloo.pickup_locations_codes.json | $raw %]" + data-pickup-locations="[% biblioloo.pickup_locations_codes.json | html %]" > [% FOREACH pickup_location IN biblioloo.pickup_locations %] -- 2.39.5