From df660091ae557e8fb9a2afaf743be121372d895c Mon Sep 17 00:00:00 2001 From: fermin831 Date: Fri, 21 Sep 2018 11:48:23 +0200 Subject: [PATCH] Fixed search group in others tree views --- 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 e18cfb599e..a865ebb54a 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -268,7 +268,7 @@ class Tree { protected function getGroupSearchFilter() { if (empty($this->filter['searchGroup'])) return ""; - return " AND tg.nombre LIKE '%" . $this->filter['searchGroup'] . "%'"; + return " AND tg.nombre LIKE '%%" . $this->filter['searchGroup'] . "%%'"; } static function cmpSortNames($a, $b) {