Commit c0596d0d by Carl Bergquist Committed by GitHub

Merge pull request #6257 from utkarshcmu/opentsdb_lodash

Opentsdb queries fixed without alias but with tags/filters
parents 2e4ca647 6638605f
...@@ -332,7 +332,7 @@ function (angular, _, dateMath) { ...@@ -332,7 +332,7 @@ function (angular, _, dateMath) {
var tagData = []; var tagData = [];
if (!_.isEmpty(md.tags)) { if (!_.isEmpty(md.tags)) {
_.each(_.pairs(md.tags), function(tag) { _.each(_.toPairs(md.tags), function(tag) {
if (_.has(groupByTags, tag[0])) { if (_.has(groupByTags, tag[0])) {
tagData.push(tag[0] + "=" + tag[1]); tagData.push(tag[0] + "=" + tag[1]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment