diff --git a/pandora_console/include/ajax/tree.ajax.php b/pandora_console/include/ajax/tree.ajax.php index 910e0bf87c..6c44b591fb 100644 --- a/pandora_console/include/ajax/tree.ajax.php +++ b/pandora_console/include/ajax/tree.ajax.php @@ -31,9 +31,7 @@ if (is_ajax ()) { if ($getChildren) { $type = get_parameter('type', 'group'); - $filter = get_parameter('filter', - array('search' => '', - 'status' => AGENT_STATUS_ALL)); + $filter = get_parameter('filter', array('searchAgent' => '', 'statusAgent' => AGENT_STATUS_ALL)); $id = (int)get_parameter('id', 0); $childrenMethod = get_parameter('childrenMethod', 'on_demand'); $countModuleStatusMethod = get_parameter('countModuleStatusMethod', 'on_demand'); @@ -57,8 +55,9 @@ if (is_ajax ()) { } $tree->setFilter(array( - 'status' => $filter['status'], - 'search' => $filter['search'])); + 'statusAgent' => $filter['statusAgent'], + 'searchAgent' => $filter['searchAgent']) + ); echo json_encode(array('success' => 1, 'tree' => $tree->getArray())); return; } diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index f433683b12..ea715e7df1 100755 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -2856,7 +2856,7 @@ table#policy_modules td * { min-height: 26px; } -.tree-last { +.tree-node:last-child { background: 0 0; } .node-content {