From d32d707f10c5e36e20057ccacb555563c657ff3f Mon Sep 17 00:00:00 2001 From: michielmulders Date: Fri, 22 Mar 2019 16:12:04 +0100 Subject: [PATCH] Add validation filters for Transactions.count --- framework/src/components/storage/entities/transaction.js | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/src/components/storage/entities/transaction.js b/framework/src/components/storage/entities/transaction.js index 98295711570..6cafa9e9aea 100644 --- a/framework/src/components/storage/entities/transaction.js +++ b/framework/src/components/storage/entities/transaction.js @@ -288,6 +288,7 @@ class Transaction extends BaseEntity { */ // eslint-disable-next-line no-unused-vars count(filters, _options = {}, tx) { + this.validateFilters(filters); filters = Transaction._sanitizeFilters(filters); const mergedFilters = this.mergeFilters(filters);