Addons Store: Also search the addon id
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>pull/3021/head
parent
ec230c9c8d
commit
162aaa6390
|
@ -371,7 +371,7 @@ export default {
|
|||
results = results.filter((a) => a.type === this.currentTab)
|
||||
}
|
||||
query = query.toLowerCase()
|
||||
results = results.filter((a) => a.label.toLowerCase().indexOf(query) >= 0)
|
||||
results = results.filter((a) => a.id.includes(query) || a.label.toLowerCase().includes(query))
|
||||
|
||||
this.$set(this, 'query', query)
|
||||
this.$set(this, 'searchResults', results)
|
||||
|
|
Loading…
Reference in New Issue