fixed errors in search tree view

This commit is contained in:
daniel 2017-03-09 12:16:20 +01:00
parent b0f600e9f0
commit 66e7d71858
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ class Tree {
// Agent name filter
$agent_search_filter = "";
if (!empty($this->filter['searchAgent'])) {
$agent_search_filter = " AND LOWER(ta.nombre) LIKE LOWER('%".$this->filter['searchAgent']."%') OR ta.alias LIKE '%".$this->filter['searchAgent']."%'";
$agent_search_filter = " AND LOWER(ta.alias) LIKE LOWER('%".$this->filter['searchAgent']."%')";
}
// Agent status filter