diff --git a/api/js/etemplate/Et2Widget/SearchMixin.ts b/api/js/etemplate/Et2Widget/SearchMixin.ts index aed19d997f..fb298bda5f 100644 --- a/api/js/etemplate/Et2Widget/SearchMixin.ts +++ b/api/js/etemplate/Et2Widget/SearchMixin.ts @@ -292,11 +292,10 @@ export const SearchMixin = (search : string, option : DataType) : boolean + public searchMatch(search : string, searchOptions : Object, option : DataType) : boolean { if(!option || !option.value) { @@ -341,7 +340,7 @@ export const SearchMixin = (value, option)) + if(this.searchMatch(value, searchOptions, option)) { local.results.push(option); local.total++;