Skip to content
Snippets Groups Projects
Unverified Commit 823b4269 authored by Robert Dyer's avatar Robert Dyer Committed by GitHub
Browse files

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

parent 8827169b
No related branches found
No related tags found
No related merge requests found
...@@ -1634,8 +1634,12 @@ export function Account() { ...@@ -1634,8 +1634,12 @@ export function Account() {
return q => { return q => {
q = q.filter({ q = q.filter({
$and: [{ '_account.closed': false }], $and: [{ '_account.closed': false }],
$or: [filterByAccount, filterByPayee],
}); });
if (params.id) {
q = q.filter({
$or: [filterByAccount, filterByPayee],
});
}
return q.orderBy({ next_date: 'desc' }); return q.orderBy({ next_date: 'desc' });
}; };
}, [params.id]); }, [params.id]);
......
---
category: Bugfix
authors: [psybers]
---
Show scheduled transactions when viewing "All accounts"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment