Skip to content

Commit

Permalink
decode url - undo
Browse files Browse the repository at this point in the history
  • Loading branch information
otenav committed Apr 19, 2022
1 parent 61e7fb6 commit 9366837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/search/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9366837

Please sign in to comment.