Show graph name in custom graph items for report list - #1374

This commit is contained in:
enriquecd 2017-12-21 13:33:01 +01:00
parent dafa8202f5
commit 8572bc61b3
1 changed files with 6 additions and 0 deletions

View File

@ -352,6 +352,12 @@ foreach ($items as $item) {
$row[1] = get_report_name($item['type']);
$custom_graph_name = db_get_row_sql('select name from tgraph where id_graph = '.$item['id_gs']);
if($item['type'] == 'custom_graph'){
$row[1] = get_report_name($item['type']).' ('.$custom_graph_name['name'].')';
}
$server_name = $item ['server_name'];
if (($config ['metaconsole'] == 1) && ($server_name != '') && defined('METACONSOLE')) {