From 4990d09ba39f69250973aecbb70c886eab2f7faa Mon Sep 17 00:00:00 2001 From: Th1nkK1D Date: Fri, 14 Jun 2024 15:48:35 +0700 Subject: [PATCH] fix: can search bill with nickname in explore page --- src/routes/bills/explore/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/bills/explore/+page.svelte b/src/routes/bills/explore/+page.svelte index 88e86cd2..dc2020f1 100644 --- a/src/routes/bills/explore/+page.svelte +++ b/src/routes/bills/explore/+page.svelte @@ -78,7 +78,7 @@ return; const search = searchQuery.trim(); - if (search && !bill.title.includes(search)) return; + if (search && !bill.title.includes(search) && !bill.nickname.includes(search)) return; const { filterEra, filterStatus, filterCategory, filterProposerType } = selectedCheckboxValue;