Fixed application.get for 2.2
This commit is contained in:
@@ -136,12 +136,11 @@ function ZabbixAPIService($q, alertSrv, zabbixAPICoreService) {
|
|||||||
|
|
||||||
getApplications() {
|
getApplications() {
|
||||||
var params = {
|
var params = {
|
||||||
output: ['name'],
|
output: ['applicationid', 'name'],
|
||||||
sortfield: 'name',
|
|
||||||
|
|
||||||
// Hack for supporting different apis (2.2 vs 2.4 vs 3.0)
|
// Hack for supporting different apis (2.2 vs 2.4 vs 3.0)
|
||||||
selectHost: [],
|
selectHost: ['hostid'],
|
||||||
selectHosts: [],
|
selectHosts: ['hostid'],
|
||||||
selectItems: ['itemid']
|
selectItems: ['itemid']
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user