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>
(cherry picked from commit 3ffeb14e4b)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
b30e54a86c
commit
2f273e4655
|
|
@ -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 %]"
|
||||
>
|
||||
<option value=""></option>
|
||||
[% FOREACH pickup_location IN biblioloo.pickup_locations %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue