mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
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'])) {
|
if (empty($this->filter['searchModule'])) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
return " AND tam.nombre LIKE '%".$this->filter['searchModule']."%' ";
|
return " AND tam.nombre LIKE '%%".$this->filter['searchModule']."%%' ";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getAgentSearchFilter() {
|
protected function getAgentSearchFilter() {
|
||||||
if (empty($this->filter['searchAgent'])) return "";
|
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…
x
Reference in New Issue
Block a user