Skip to content

Commit

Permalink
fix: can search bill with nickname in explore page
Browse files Browse the repository at this point in the history
  • Loading branch information
Th1nkK1D committed Jun 14, 2024
1 parent c90bfd5 commit 4990d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/bills/explore/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4990d09

Please sign in to comment.