Add date filtering to backend
This commit is contained in:
1 parent
a031dd5bb1
commit
f8a8a6fc0c
3 files changed
+16
-4
No files matched your search
@@ -69,4 +69,5 @@ FROM display_transactions AS transactions
|
||||
WHERE (NOT @filter_category::boolean OR transactions.category_id = @category_id)
|
||||
AND (NOT @filter_account::boolean OR transactions.account_id = @account_id)
|
||||
AND (NOT @filter_payee::boolean OR transactions.payee_id = @payee_id)
|
||||
AND transactions.date BETWEEN @from_date AND @to_date
|
||||
AND transactions.budget_id = @budget_id;
|
||||
Reference in new issue
Block a user