Match search query against contract answers
This commit is contained in:
parent
952b7be94a
commit
8305ecd667
|
@ -214,7 +214,8 @@ export function SearchableGrid(props: {
|
|||
check(c.description) ||
|
||||
check(c.creatorName) ||
|
||||
check(c.creatorUsername) ||
|
||||
check(c.lowercaseTags.map((tag) => `#${tag}`).join(' '))
|
||||
check(c.lowercaseTags.map((tag) => `#${tag}`).join(' ')) ||
|
||||
check((c.answers ?? []).map((answer) => answer.text).join(' '))
|
||||
)
|
||||
|
||||
if (sort === 'newest' || sort === 'all') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user