fixd calculation of sums for filtered transactions
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -35,14 +35,10 @@
|
||||
}
|
||||
|
||||
function checker(taglist, filter){
|
||||
// TODO: make case-insensitive
|
||||
for (var f of filter){
|
||||
var included = false;
|
||||
for (var t of taglist){
|
||||
if (t.toLowerCase() == f) {
|
||||
included = true;
|
||||
break;
|
||||
}
|
||||
if (t.toLowerCase() == f && (included = true)) break;
|
||||
}
|
||||
if (!included) return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user