Refactor queryCtrl - filter metrics using queryProcessor and

support templating.
This commit is contained in:
Alexander Zobnin
2016-01-31 21:21:14 +03:00
parent 594bbbddb9
commit f696760c32
2 changed files with 20 additions and 124 deletions

View File

@@ -153,7 +153,7 @@ function (angular, _, utils) {
} else {
apps = undefined;
if (hosts) {
items = _.filter(this.cache.getItems(), function (itemObj) {
items = _.filter(cachedItems, function (itemObj) {
return _.find(hosts, {'hostid': itemObj.hostid });
});
}