Fixed search agentes and modules in others tree views

This commit is contained in:
fermin831 2018-09-21 13:01:40 +02:00
parent b68161c9ea
commit da3061651b
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']."%%')";
}