Show only host groups that contain hosts.

This commit is contained in:
Alexander Zobnin
2016-03-28 21:54:00 +03:00
parent 4b91f620bc
commit 8a4e0b76c3

View File

@@ -117,7 +117,8 @@ function ZabbixAPIService($q, alertSrv, zabbixAPICoreService) {
getGroups() { getGroups() {
var params = { var params = {
output: ['name'], output: ['name'],
sortfield: 'name' sortfield: 'name',
real_hosts: true
}; };
return this.request('hostgroup.get', params); return this.request('hostgroup.get', params);