fix: filtering of transfer transactions (#4519)

fix issue where transactions for transfers between accounts (i.e., transactions where the payee is another account) were not properly filtered during searches
This commit is contained in:
Margarida Reis
2025-03-03 18:49:50 +00:00
committed by GitHub
parent 17c4d168fa
commit 7346198360
2 changed files with 7 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ export function transactionsSearch(
return currentQuery.filter({
$or: {
'payee.name': { $like: `%${search}%` },
'payee.transfer_acct.name': { $like: `%${search}%` },
notes: { $like: `%${search}%` },
'category.name': { $like: `%${search}%` },
'account.name': { $like: `%${search}%` },

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [tostasmistas]
---
Fix filtering of transfer transactions