From aaf7aeffee0ffe4c994efdee79a5de412d2e8d1f Mon Sep 17 00:00:00 2001 From: mike76-dev Date: Thu, 12 Oct 2023 10:38:53 +0200 Subject: [PATCH 1/2] Accept both lowercase and uppercase hashes --- apps/explorer/components/Layout/Search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/components/Layout/Search.tsx b/apps/explorer/components/Layout/Search.tsx index 2bbdd6063..10b2edc18 100644 --- a/apps/explorer/components/Layout/Search.tsx +++ b/apps/explorer/components/Layout/Search.tsx @@ -45,7 +45,7 @@ export function Search() { async (values) => { const response = await search.get({ params: { - query: values.query, + query: values.query.toLowerCase(), }, }) From 51561b6289a720a6bdf0abfc092d50828f7e9023 Mon Sep 17 00:00:00 2001 From: mike76-dev Date: Thu, 12 Oct 2023 10:38:53 +0200 Subject: [PATCH 2/2] Accept both lowercase and uppercase hashes --- apps/explorer/components/Layout/Search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/components/Layout/Search.tsx b/apps/explorer/components/Layout/Search.tsx index 2bbdd6063..10b2edc18 100644 --- a/apps/explorer/components/Layout/Search.tsx +++ b/apps/explorer/components/Layout/Search.tsx @@ -45,7 +45,7 @@ export function Search() { async (values) => { const response = await search.get({ params: { - query: values.query, + query: values.query.toLowerCase(), }, })