mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +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)
|
switch(value.constructor.name)
|
||||||
{
|
{
|
||||||
case "String":
|
case "String":
|
||||||
return value.toLowerCase().search(filter.toLowerCase()) >= 0
|
return value.toLowerCase().indexOf(filter.toLowerCase()) > -1
|
||||||
default:
|
default:
|
||||||
return value === filter
|
return value === filter
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue