Skip to content

Commit

Permalink
Fix error parsing query string twice
Browse files Browse the repository at this point in the history
  • Loading branch information
mbesada committed Mar 26, 2020
1 parent d8f30e7 commit 82b409d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
const { query = "", page } = qsModule.parse(location.search.slice(1));

return {
query: decodeURIComponent(query),
query,
page
};
}
Expand Down

0 comments on commit 82b409d

Please sign in to comment.