From 9d809f400b47599239e8fe8e266aa0b6c4e59f68 Mon Sep 17 00:00:00 2001 From: Tim Chamberlain Date: Tue, 18 Apr 2023 17:25:24 -0500 Subject: [PATCH] CTLE-397: fix bug on unencoded component filterJSON --- src/qqq/pages/processes/ProcessRun.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qqq/pages/processes/ProcessRun.tsx b/src/qqq/pages/processes/ProcessRun.tsx index 5ba7369..b11b64b 100644 --- a/src/qqq/pages/processes/ProcessRun.tsx +++ b/src/qqq/pages/processes/ProcessRun.tsx @@ -1077,7 +1077,7 @@ function ProcessRun({process, table, defaultProcessValues, isModal, isWidget, is else if (urlSearchParams.get("filterJSON")) { queryStringPairsForInit.push("recordsParam=filterJSON"); - queryStringPairsForInit.push(`filterJSON=${urlSearchParams.get("filterJSON")}`); + queryStringPairsForInit.push(`filterJSON=${encodeURIComponent(urlSearchParams.get("filterJSON"))}`); } // todo once saved filters exist //else if(urlSearchParams.get("filterId")) {