Fixed item filtering by types.
This commit is contained in:
@@ -294,11 +294,11 @@ function (angular, _, dateMath, utils, metricFunctions) {
|
||||
|
||||
// Get items
|
||||
if (parts.length === 4) {
|
||||
//var items = this.queryProcessor.filterItems(template.host, template.app, true);
|
||||
return this.queryProcessor.filterItems(template.group, template.host, template.app, true)
|
||||
.then(function(items) {
|
||||
return _.map(items, formatMetric);
|
||||
});
|
||||
return this.queryProcessor.filterItems(template.group, template.host,
|
||||
template.app, 'all', true)
|
||||
.then(function(items) {
|
||||
return _.map(items, formatMetric);
|
||||
});
|
||||
}
|
||||
// Get applications
|
||||
else if (parts.length === 3) {
|
||||
|
||||
Reference in New Issue
Block a user