diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index a865ebb54a..b72e3ec216 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -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']."%%')"; }