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:
commit
f662cba79c
|
@ -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']."%%')";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue