Case insensitive in tree view filter search #9

This commit is contained in:
enriquecd 2017-01-13 11:01:08 +01:00
parent 0933ccd5a6
commit 21c2b93637
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 ta.nombre LIKE '%".$this->filter['searchAgent']."%' ";
$agent_search_filter = " AND LOWER(ta.nombre) LIKE LOWER('%".$this->filter['searchAgent']."%')";
}
// Agent status filter