Merge branch '9-Feature_Case_sensitive_en_campos_de_búsqueda' into 'develop'

Case insensitive in tree view filter search #9

#9

See merge request !19
This commit is contained in:
Enrique Camargo 2017-01-13 11:03:12 +01:00
commit 50174695dd
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