Merge pull request #6257 from utkarshcmu/opentsdb_lodash

Opentsdb queries fixed without alias but with tags/filters
This commit is contained in:
Carl Bergquist
2016-10-13 07:34:00 +02:00
committed by GitHub

View File

@@ -332,7 +332,7 @@ function (angular, _, dateMath) {
var tagData = [];
if (!_.isEmpty(md.tags)) {
_.each(_.pairs(md.tags), function(tag) {
_.each(_.toPairs(md.tags), function(tag) {
if (_.has(groupByTags, tag[0])) {
tagData.push(tag[0] + "=" + tag[1]);
}