From 2f273e46550e19f50ef9a50fee914d98f17d05ce 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 Signed-off-by: Jonathan Druart Signed-off-by: Lucas Gass (cherry picked from commit 3ffeb14e4b63601cfbc22080aa01a0e0e3dcc97c) Signed-off-by: Paul Derscheid --- 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 0bd8040aaf..e4a376a7f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1127,7 +1127,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 %]