From ae8462cff87efdb4b54bb529770723513a56484a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Salgado?= Date: Mon, 7 Jun 2021 01:58:05 +0100 Subject: [PATCH] fix: transaction table query --- lib/new-admin/filters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/new-admin/filters.js b/lib/new-admin/filters.js index 71b5be22..3e9cf658 100644 --- a/lib/new-admin/filters.js +++ b/lib/new-admin/filters.js @@ -19,7 +19,7 @@ function transaction() { SELECT 'crypto' AS type, crypto_code AS value FROM cash_in_txs UNION SELECT 'crypto' AS type, crypto_code AS value FROM cash_out_txs UNION SELECT 'address' AS type, to_address AS value FROM cash_in_txs UNION - SELECT 'address' AS type, to_address AS value FROM cash_in_txs UNION + SELECT 'address' AS type, to_address AS value FROM cash_out_txs UNION SELECT 'status' AS type, ${cashInTx.TRANSACTION_STATES} AS value FROM cash_in_txs UNION SELECT 'status' AS type, ${CASH_OUT_TRANSACTION_STATES} AS value FROM cash_out_txs ) f`