Improve MFC search by also searching in the models cache
This commit is contained in:
parent
459734f48e
commit
9965f352e3
|
@ -616,6 +616,15 @@ public class MyFreeCamsClient {
|
||||||
synchronized (monitor) {
|
synchronized (monitor) {
|
||||||
monitor.wait();
|
monitor.wait();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (MyFreeCamsModel model : models.asMap().values()) {
|
||||||
|
if(StringUtil.isNotBlank(model.getName())) {
|
||||||
|
if(model.getName().contains(q)) {
|
||||||
|
result.add(model);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue