diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index a63f4672be..720d8750ba 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -46,6 +46,9 @@ $delete_layout = (bool) get_parameter ('delete_layout'); $refr = (int) get_parameter('refr', $config['vc_refr']); $offset = (int) get_parameter('offset', 0); $pagination = (int) get_parameter ("pagination", $config["block_size"]); +$search = (string) get_parameter("search",""); +$ag_group = (int)get_parameter("ag_group",0); +$recursion = get_parameter("recursion",0); if ($delete_layout || $copy_layout) { // Visual console required @@ -199,6 +202,50 @@ if ($delete_layout || $copy_layout) { } } +if ($ag_group > 0) { + + $ag_groups = array(); + $ag_groups = (array)$ag_group; + if ($recursion) { + $ag_groups = groups_get_id_recursive($ag_group, true); + } +} + +echo "