Hello,
In documentation i found description for search executor with following code:
@Autowired
private DataManager dataManager;
@Install(to = “entityField”, subject = “searchExecutor”)
private List entityFieldSearchExecutor(String searchString, Map<String, Object> searchParams) {
return dataManager.load(Country.class)
.query(“e.name like ?1 order by e.name”, “(?i)%” + searchString + “%”)
.list();
}
I know what is searchString, but how can I set searchParams? I didn’t find how can I use it. Could you send me example?
My entity suggestion field depend of some other values (master data) wich globally filter and user additiona enter search condition.