diff --git a/web/components/contracts-list.tsx b/web/components/contracts-list.tsx index b1b69fc0..05762267 100644 --- a/web/components/contracts-list.tsx +++ b/web/components/contracts-list.tsx @@ -108,9 +108,12 @@ export function SearchableGrid(props: { function check(corpus: String) { return corpus.toLowerCase().includes(query.toLowerCase()) } - // TODO: Search through @username let matches = contracts.filter( - (c) => check(c.question) || check(c.description) || check(c.creatorName) + (c) => + check(c.question) || + check(c.description) || + check(c.creatorName) || + check(c.creatorUsername) ) if (sort === 'createdTime' || sort === 'resolved' || sort === 'all') {