Merge branch 'ent-2807-falla-el-filtro-de-busqueda-de-groups-en-los-tree-view-que-no-son-el-de-grupos-2' into 'develop'

Fixed search agentes and modules in others tree views

See merge request artica/pandorafms!1798
This commit is contained in:
vgilc 2018-09-21 13:19:18 +02:00
commit f662cba79c
1 changed files with 2 additions and 2 deletions

View File

@ -93,12 +93,12 @@ class Tree {
if (empty($this->filter['searchModule'])) {
return "";
}
return " AND tam.nombre LIKE '%".$this->filter['searchModule']."%' ";
return " AND tam.nombre LIKE '%%".$this->filter['searchModule']."%%' ";
}
protected function getAgentSearchFilter() {
if (empty($this->filter['searchAgent'])) return "";
return " AND LOWER(ta.alias) LIKE LOWER('%".$this->filter['searchAgent']."%')";
return " AND LOWER(ta.alias) LIKE LOWER('%%".$this->filter['searchAgent']."%%')";
}