From 823b426952c1a48e16366ae18cb709595be9ac6d Mon Sep 17 00:00:00 2001 From: Robert Dyer <rdyer@unl.edu> Date: Sat, 9 Mar 2024 11:17:15 -0600 Subject: [PATCH] Show scheduled transactions when viewing "All accounts" (#2447) --- packages/desktop-client/src/components/accounts/Account.jsx | 6 +++++- upcoming-release-notes/2447.md | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 upcoming-release-notes/2447.md diff --git a/packages/desktop-client/src/components/accounts/Account.jsx b/packages/desktop-client/src/components/accounts/Account.jsx index 4afd78dfe..6656be65b 100644 --- a/packages/desktop-client/src/components/accounts/Account.jsx +++ b/packages/desktop-client/src/components/accounts/Account.jsx @@ -1634,8 +1634,12 @@ export function Account() { return q => { q = q.filter({ $and: [{ '_account.closed': false }], - $or: [filterByAccount, filterByPayee], }); + if (params.id) { + q = q.filter({ + $or: [filterByAccount, filterByPayee], + }); + } return q.orderBy({ next_date: 'desc' }); }; }, [params.id]); diff --git a/upcoming-release-notes/2447.md b/upcoming-release-notes/2447.md new file mode 100644 index 000000000..9f0e7bcd9 --- /dev/null +++ b/upcoming-release-notes/2447.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [psybers] +--- + +Show scheduled transactions when viewing "All accounts" \ No newline at end of file -- GitLab