Bugzilla – Attachment 187453 Details for
Bug 40899
When placing multiple holds at once the individual "Pickup location:" dropdowns do not update when changing the top level "Pickup at:" dropdown"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40899: Fix rendering of JSON in data-attribute with html filter
Bug-40899-Fix-rendering-of-JSON-in-data-attribute-.patch (text/plain), 1.77 KB, created by
Jonathan Druart
on 2025-10-06 09:55:34 UTC
(
hide
)
Description:
Bug 40899: Fix rendering of JSON in data-attribute with html filter
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-10-06 09:55:34 UTC
Size:
1.77 KB
patch
obsolete
>From 392786d146c325fea357ee6eaa548eced88eba39 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <chip.halvorsen@westlakelibrary.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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 6c6c27c8a01..b2ee7571f9f 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 %]" > > > <option value=""></option> > [% FOREACH pickup_location IN biblioloo.pickup_locations %] >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40899
:
187102
|
187140
|
187141
| 187453