Bugzilla – Attachment 169560 Details for
Bug 37444
Can't filter holds to pull by pickup location
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37444: Fix filter for Pickup Location
Bug-37444-Fix-filter-for-Pickup-Location.patch (text/plain), 1.73 KB, created by
Laura Escamilla
on 2024-07-25 14:30:45 UTC
(
hide
)
Description:
Bug 37444: Fix filter for Pickup Location
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2024-07-25 14:30:45 UTC
Size:
1.73 KB
patch
obsolete
>From 26229acbb2d6f3e353c829f25d1b3f295799e564 Mon Sep 17 00:00:00 2001 >From: Petro Vashchuk <stalkernoid@gmail.com> >Date: Wed, 24 Jul 2024 07:30:43 +0300 >Subject: [PATCH] Bug 37444: Fix filter for Pickup Location > >When trying to filter holds to pull using the dropdown filter for Pickup Location, the dropdown has "None" as the only available option because of incorrect column index in ppendingreserves.tt > >To reproduce: >1. Place a hold and go to Circulation -> Holds to pull. >2. Use a dropdown filter for Pickup Location, see that only "None" is available to pick, meaning you can't use the filter. >3. Apply the patch. >4. Do the step 2 again and ensure that there's also an option for that hold's pickup location. > >Signed-off-by: Eric Garcia <cubingguy714@gmail.com> >Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >--- > .../intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >index 8709b5bf07..2b7b2c490f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >@@ -380,9 +380,9 @@ > }); > }); > $("#pickup-location").each( function () { >- $(this).html( createSelect( holdst.fnGetColumnData(14) ) ); >+ $(this).html( createSelect( holdst.fnGetColumnData(15) ) ); > $('select', this).change( function () { >- holdst.fnFilter( $(this).val(), 14 ); >+ holdst.fnFilter( $(this).val(), 15 ); > }); > }); > }); >-- >2.39.2
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 37444
:
169449
|
169496
| 169560