From 21c2b93637b349360f241b7aae277444899ab8a8 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Fri, 13 Jan 2017 11:01:08 +0100 Subject: [PATCH] Case insensitive in tree view filter search #9 --- pandora_console/include/class/Tree.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index a1467e6992..8d2fc0c0e5 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -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