[Koha-bugs] [Bug 27706] Holds to Pull libraries column filter doesn't work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 15 10:37:21 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27706

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 116880
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116880&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list