mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
also allow search using entity id
This commit is contained in:
parent
c5b5a5e8c1
commit
b65bd6736f
1 changed files with 2 additions and 1 deletions
|
@ -289,7 +289,8 @@ function loaded() {
|
|||
visibleEntities = entities.filter(function(e) {
|
||||
return e.name.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1
|
||||
|| e.type.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1
|
||||
|| e.fullUrl.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1;
|
||||
|| e.fullUrl.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1
|
||||
|| e.id.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue