Commit d26d7162 by Torkel Ödegaard

fix(opentsdb): fixed templating issue for single value variables, fixes #4312

parent 990acb3f
......@@ -69,6 +69,9 @@ function (angular, _) {
return '(' + quotedValues.join(' OR ') + ')';
}
case "pipe": {
if (typeof value === 'string') {
return value;
}
return value.join('|');
}
default: {
......
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