Fixed application.get for 2.2

This commit is contained in:
Alexander Zobnin
2016-03-19 11:56:21 +03:00
parent 30ae203f73
commit d1c503e71a

View File

@@ -136,12 +136,11 @@ function ZabbixAPIService($q, alertSrv, zabbixAPICoreService) {
getApplications() {
var params = {
output: ['name'],
sortfield: 'name',
output: ['applicationid', 'name'],
// Hack for supporting different apis (2.2 vs 2.4 vs 3.0)
selectHost: [],
selectHosts: [],
selectHost: ['hostid'],
selectHosts: ['hostid'],
selectItems: ['itemid']
};