mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch 'ent-13721-17598-Resultado-de-Item-Grouped-Exception-no-devuelve-datos-cuando-seleccionamos-Only-Table' into 'develop'
Ent 13721 17598 resultado de item grouped exception no devuelve datos cuando seleccionamos only table See merge request artica/pandorafms!7396
This commit is contained in:
commit
9f9677ffd3
@ -4540,6 +4540,17 @@ function reporting_exception(
|
||||
} else {
|
||||
$return['chart']['hbar'] .= '</div>';
|
||||
}
|
||||
} else {
|
||||
// Get only table data.
|
||||
foreach ($items as $key => $item) {
|
||||
$data = [];
|
||||
$data['agent'] = $item['agent'];
|
||||
$data['module'] = $item['module'];
|
||||
$data['operation'] = __($item['operation']);
|
||||
$data['value'] = $item['value'];
|
||||
$data['formated_value'] = format_for_graph($item['value'], 2).' '.$item['unit'];
|
||||
$return['data'][] = $data;
|
||||
}
|
||||
}
|
||||
|
||||
if ($content['show_resume'] && $i > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user