Add-on Store: Extend search to add-on descriptions (#3028)
Resolves #2870. Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>main
parent
14a665fc1a
commit
3e010ec300
|
@ -370,7 +370,7 @@ export default {
|
|||
results = results.filter((a) => a.type === this.currentTab)
|
||||
}
|
||||
query = query.toLowerCase()
|
||||
results = results.filter((a) => a.id.includes(query) || a.label.toLowerCase().includes(query))
|
||||
results = results.filter((a) => a.id.includes(query) || a.label.toLowerCase().includes(query) || a.description?.toLowerCase()?.includes(query))
|
||||
|
||||
this.$set(this, 'query', query)
|
||||
this.$set(this, 'searchResults', results)
|
||||
|
|
Loading…
Reference in New Issue