fixd calculation of sums for filtered transactions

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-04-20 21:51:12 +02:00
parent 9cdf303553
commit 8c0011d7ff
3 changed files with 9 additions and 6 deletions
@@ -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;
}