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

This commit is contained in:
Torkel Ödegaard 2016-03-16 13:10:48 +01:00
parent 990acb3fd3
commit d26d7162a5

View File

@ -69,6 +69,9 @@ function (angular, _) {
return '(' + quotedValues.join(' OR ') + ')';
}
case "pipe": {
if (typeof value === 'string') {
return value;
}
return value.join('|');
}
default: {