diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index ee44713385..da7123e728 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -294,6 +294,9 @@ if (is_ajax()) { ); $tmp->data = format_numeric($tmp->data, 1); + + $tmp->b64 = base64_encode(json_encode($tmp)); + $carry[] = $tmp; return $carry; } @@ -1599,7 +1602,7 @@ function process_datatables_item(item) { // Add event severity to end of text. evn = ''; + evn += item.b64+'\','+$("#group_rep").val()+');">'; // Grouped events. if(item.event_rep && item.event_rep > 1) { evn += '('+item.event_rep+') '; @@ -1705,7 +1708,7 @@ function process_datatables_item(item) { /* Options */ // Show more. item.options = ' __('Show more')]); ?>';