mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] search bar looking for sub-string match instead of regexp match
This commit is contained in:
parent
b829a2d9f4
commit
ac427d378c
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ DelegateModel {
|
|||
switch(value.constructor.name)
|
||||
{
|
||||
case "String":
|
||||
return value.toLowerCase().search(filter.toLowerCase()) >= 0
|
||||
return value.toLowerCase().indexOf(filter.toLowerCase()) > -1
|
||||
default:
|
||||
return value === filter
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue