From 9366837fbe4bd13988165a736cc019e22386b5a0 Mon Sep 17 00:00:00 2001 From: otenav Date: Tue, 19 Apr 2022 19:56:12 +0200 Subject: [PATCH] decode url - undo --- src/views/search/query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/search/query.js b/src/views/search/query.js index caf825cb1..af7a45f9d 100644 --- a/src/views/search/query.js +++ b/src/views/search/query.js @@ -51,7 +51,7 @@ export const initialQuery = { * eller bare refresher browseren, så skal dette søket gjenskapes. */ export function initQueryWithValuesFromBrowserUrl(initialState) { - const decodedUrl = document.location.search; + const decodedUrl = decodeUrl(document.location.search); const fromBrowserUrl = parseQueryString(decodedUrl); return { from: 0,