From 29c1b54c320598c67e82a214d5a02c5d1b58fc87 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 29 Jul 2019 13:43:01 +0000 Subject: [PATCH] Bug 23143: [18.11] Filter paid transactions not working This patch corrects the DataTables filter for hiding paid transactions from the table of patron account transactions. The wrong column index was specified. To test, apply the patch and view the "Account" tab of a patron with multiple transactions, at least one of them paid. Confirm that the "Filter paid transactions" link works as expected. Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt index 238685e589..e9680a5c55 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -133,7 +133,7 @@ var filteredValue = '^((?!0.00).*)$'; //Filter not matching 0.00 http://stackoverflow.com/a/406408 $(this).html(' '+txtInactivefilter); } - table_account_fines.fnFilter(filteredValue, 8, true, false); + table_account_fines.fnFilter(filteredValue, 5, true, false); $(this).toggleClass('filtered'); }); -- 2.11.0