Bugzilla – Attachment 116880 Details for
Bug 27706
Holds to Pull libraries column filter doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27706: (bug 24488 follow-up) Fix libraries column filter
Bug-27706-bug-24488-follow-up-Fix-libraries-column.patch (text/plain), 1.66 KB, created by
Jonathan Druart
on 2021-02-15 09:37:21 UTC
(
hide
)
Description:
Bug 27706: (bug 24488 follow-up) Fix libraries column filter
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-02-15 09:37:21 UTC
Size:
1.66 KB
patch
obsolete
>From 47f8789d929aa093296be40fed2b5c9dc54e8266 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 15 Feb 2021 10:34:15 +0100 >Subject: [PATCH] Bug 27706: (bug 24488 follow-up) Fix libraries column filter > >From commit 2285c2d65752dcc899d3fdcff634e6927a1cbbf0 > Bug 24488: Show correct first patron details on Holds to pull > > $('select', this).change( function () { >- var filter_value = $(this).val(); >- holdst.fnFilter( filter_value, 5, true ); >+ holdst.fnFilter( $(this).child().val(), 5 ); > }); > >This does not make sense, we need to filter on $(this).val(), it's a >select element. > >Test plan: >Place some holds >Hit the pending holds page >Use the "libraries" column filter and confirm that it works correctly >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 c4bdf7f901..5909cfdbac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >@@ -311,7 +311,7 @@ > $("#homebranchfilter").each( function () { > $(this).html( createSelect( holdst.fnGetColumnData(5) ) ); > $('select', this).change( function () { >- holdst.fnFilter( $(this).child().val(), 5 ); >+ holdst.fnFilter( $(this).val(), 5 ); > }); > }); > $("#itemtype-filter").each( function () { >-- >2.20.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 27706
:
116880
|
116885
|
116886