diff --git a/src/filters/getParamWhere.js b/src/filters/getParamWhere.js index 22dd69af1..ef00a93ae 100644 --- a/src/filters/getParamWhere.js +++ b/src/filters/getParamWhere.js @@ -9,7 +9,7 @@ function parseJSON(str, fallback) { } export default function (route, param) { // catch route query params - const params = parseJSON(route?.query?.params, {}); + const params = parseJSON(route?.query?.table, {}); // extract and parse filter from params const { filter: filterStr = '{}' } = params;