Stop encoding punctuation in item search bar
Typing "foo:bar" would re-encode to "foo%3Abar"!
This commit is contained in:
parent
8c5c36eb86
commit
56e9df719a
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ function useSearchQueryInUrl() {
|
||||||
const searchParams = new URLSearchParams(search);
|
const searchParams = new URLSearchParams(search);
|
||||||
|
|
||||||
const query = {
|
const query = {
|
||||||
value: value || "",
|
value: decodeURIComponent(value || ""),
|
||||||
filterToZoneLabel: searchParams.get("zone") || null,
|
filterToZoneLabel: searchParams.get("zone") || null,
|
||||||
filterToItemKind: searchParams.get("kind") || null,
|
filterToItemKind: searchParams.get("kind") || null,
|
||||||
filterToCurrentUserOwnsOrWants: searchParams.get("user") || null,
|
filterToCurrentUserOwnsOrWants: searchParams.get("user") || null,
|
||||||
|
|
Loading…
Reference in a new issue