Fixed #191 - display host name for multiple metrics.

This commit is contained in:
Alexander Zobnin
2016-04-11 23:12:38 +03:00
parent eb9722aef0
commit 49ea07451f
3 changed files with 15 additions and 10 deletions

View File

@@ -155,7 +155,11 @@ function ZabbixAPIService($q, alertSrv, zabbixAPICoreService) {
'state'
],
sortfield: 'name',
webitems: true
webitems: true,
selectHosts: [
'hostid',
'name'
]
};
if (hostids) {
params.hostids = hostids;