From a2ffd164152ada6796c7946c933ff65400718a45 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Tue, 8 Nov 2011 10:39:06 +0000 Subject: [PATCH] 2011-11-08 Juan Manuel Ramon * include/functions_reporting.php: godmode/reporting/reporting_builder.item_editor.php: Fixed baseline graphs also fixed some warnings. Fixes: #3414446 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 ++++++++ .../godmode/reporting/reporting_builder.item_editor.php | 1 + pandora_console/include/functions_reporting.php | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f17a9d00bc..d93711a1e1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2011-11-08 Juan Manuel Ramon + + * include/functions_reporting.php: + godmode/reporting/reporting_builder.item_editor.php: Fixed baseline + graphs also fixed some warnings. + + Fixes: #3414446 + 2011-11-08 Juan Manuel Ramon * include/functions_graph.php diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 7e1377a095..3987be2e68 100644 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -73,6 +73,7 @@ $sunday = true; $time_from = '00:00'; $time_to = '23:59'; $show_graph = 0; +$sla_sorted_by = 0; switch ($action) { case 'new': diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 1b6f456b1b..b7bb395bc0 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -2194,7 +2194,7 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f } $data = array (); - $data[0] = grafico_modulo_sparse($layout_data['id_agente_modulo'], $content['period'], + $data[0] = grafico_modulo_sparse($content['id_agent_module'], $content['period'], false, $sizgraph_w, $sizgraph_h, '', '', false, true, true, $report["datetime"], '', true, 0, true, true);