Opentsdb queries broken if no alias is uses with tags/filters

This commit is contained in:
utkarshcmu 2016-10-12 13:32:37 -07:00
parent 0f2fa33daf
commit cc3b928708

View File

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