mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Opentsdb queries broken if no alias is uses with tags/filters
This commit is contained in:
parent
0f2fa33daf
commit
cc3b928708
@ -332,7 +332,8 @@ 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) {
|
||||||
|
console.log(tag);
|
||||||
if (_.has(groupByTags, tag[0])) {
|
if (_.has(groupByTags, tag[0])) {
|
||||||
tagData.push(tag[0] + "=" + tag[1]);
|
tagData.push(tag[0] + "=" + tag[1]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user