Skip to content

A local-first personal finance app

Show scheduled transactions when viewing "All accounts" (#2447)

Robert Dyer823b426952c1
diff --git a/packages/desktop-client/src/components/accounts/Account.jsx b/packages/desktop-client/src/components/accounts/Account.jsx
index 4afd78dfe1..6656be65b7 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 0000000000..9f0e7bcd9d
--- /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