From c924d704f4ff0724f259694b397afa75e5c4b85a Mon Sep 17 00:00:00 2001 From: "metabase-bot[bot]" <109303359+metabase-bot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 22:37:47 +0000 Subject: [PATCH] fix query string parsing (#39537) (#39570) Co-authored-by: Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> --- frontend/src/metabase/query_builder/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/metabase/query_builder/utils.ts b/frontend/src/metabase/query_builder/utils.ts index 60b8f1557ea..48b636782d0 100644 --- a/frontend/src/metabase/query_builder/utils.ts +++ b/frontend/src/metabase/query_builder/utils.ts @@ -30,7 +30,7 @@ export function getPathNameFromQueryBuilderMode({ export function getCurrentQueryParams() { const search = window.location.search.charAt(0) === "?" - ? window.location.search.slice(0) + ? window.location.search.slice(1) : window.location.search; return querystring.parse(search); } -- GitLab