Bug 22626: 'Filter paid transactions' broken on Transactions tab in staff
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Apr 2019 16:06:27 +0000 (16:06 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Apr 2019 12:24:36 +0000 (13:24 +0100)
commit975505deee608414ecb894995161a64505eb3926
tree99293fca77e49143902a9073186f571aa054ba10
parent746b3930d5556d14d4fcc6a64612561edf8fef96
Bug 22626: 'Filter paid transactions' broken on Transactions tab in staff

This patch changes a parameter in the function which filters the
DataTable of transactions. The addition of more columns to the table
changed the index of the column which is being filtered.

To test, apply the patch and locate a patron who has multiple fines or
charges, some of them paid. Go to Accounting -> Transactions. Test the
"Filter paid transactions" link. Table rows which show "0.00" in the
"Oustanding" column should be hidden.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 9c0197a8d1b1a29f28de4b91e6605ae0a1088235)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt