mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 03:23:51 -05:00
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:
@@ -101,6 +101,7 @@ export function transactionsSearch(
|
|||||||
return currentQuery.filter({
|
return currentQuery.filter({
|
||||||
$or: {
|
$or: {
|
||||||
'payee.name': { $like: `%${search}%` },
|
'payee.name': { $like: `%${search}%` },
|
||||||
|
'payee.transfer_acct.name': { $like: `%${search}%` },
|
||||||
notes: { $like: `%${search}%` },
|
notes: { $like: `%${search}%` },
|
||||||
'category.name': { $like: `%${search}%` },
|
'category.name': { $like: `%${search}%` },
|
||||||
'account.name': { $like: `%${search}%` },
|
'account.name': { $like: `%${search}%` },
|
||||||
|
|||||||
6
upcoming-release-notes/4519.md
Normal file
6
upcoming-release-notes/4519.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
category: Bugfix
|
||||||
|
authors: [tostasmistas]
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix filtering of transfer transactions
|
||||||
Reference in New Issue
Block a user