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 <katrin.fischer@bsz-bw.de> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
f3d16629c2
commit
c59cf4f6a4
|
|
@ -133,7 +133,7 @@
|
|||
var filteredValue = '^((?!0.00).*)$'; //Filter not matching 0.00 http://stackoverflow.com/a/406408
|
||||
$(this).html('<i class="fa fa-filter"></i> '+txtInactivefilter);
|
||||
}
|
||||
table_account_fines.fnFilter(filteredValue, 8, true, false);
|
||||
table_account_fines.fnFilter(filteredValue, 5, true, false);
|
||||
$(this).toggleClass('filtered');
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue