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:
parent
e39e568e6a
commit
3ffeb14e4b
|
|
@ -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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue