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 <chip.halvorsen@westlakelibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2025-09-30 13:11:43 +00:00
parent e39e568e6a
commit 3ffeb14e4b
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 1 additions and 1 deletions

View File

@ -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 %]"
>
<option value=""></option>
[% FOREACH pickup_location IN biblioloo.pickup_locations %]