From 0b16b92e8092a32102423872d56bcee309a60f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20Mu=C3=B1oz?= Date: Wed, 30 Oct 2024 13:59:37 +0100 Subject: [PATCH] Fix issue with GET/POST searchFilter --- packages/react-api/src/api/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-api/src/api/model.js b/packages/react-api/src/api/model.js index 1541bb2e5..f007382b6 100644 --- a/packages/react-api/src/api/model.js +++ b/packages/react-api/src/api/model.js @@ -124,7 +124,7 @@ export function executeModel(props) { } else { // undo the JSON.stringify, @todo find a better pattern queryParams.params = params; - queryParams.filters = filters; + queryParams.filters = { ...filters, ...props.searchFilter }; queryParams.queryParameters = source.queryParameters; if (spatialFilters) { queryParams.spatialFilters = spatialFilters;