fix: apply filters in Reports dashboard for cash flow widget (#4683)

fix issue where filters set in the widget editor for the cash flow widget were not applied in the Reports dashboard
This commit is contained in:
Margarida Reis
2025-03-26 04:16:23 +00:00
committed by GitHub
parent 161c0625b1
commit 0f8a1aeb2b
2 changed files with 8 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ export function simpleCashFlow(
return q('transactions')
.filter({
[conditionsOpKey]: filters,
})
.filter({
$and: [
{ date: { $gte: start } },
{