Fixed search agentes and modules in others tree views
This commit is contained in:
parent
b68161c9ea
commit
da3061651b
|
@ -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