]> git.koha-community.org Git - koha.git/commit
Bug 27706: (bug 24488 follow-up) Fix libraries column filter
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Feb 2021 09:34:15 +0000 (10:34 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Feb 2021 09:22:13 +0000 (10:22 +0100)
commite0e64bde51b85d7477119be8ec147cbb0df51d21
treec9deb751952642d00544db19cf0e9cdce923ec4b
parent5d459283e81a57cb1c417d79c47b0f9965ba56ae
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

Signed-off-by: Andrew Nugged <nugged@gmail.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt