influxdb: fixed template variable interpolation of multi valued variables when using raw query editor mode, fixes #8165

This commit is contained in:
Torkel Ödegaard committed 2017-04-25 17:27:57 +02:00
1 parent 19a04b7e4a
commit d2a22e7b23
1 file changed
+1 -1
@@ -194,7 +194,7 @@ export default class InfluxQuery {
}
var escapedValues = _.map(value, kbn.regexEscape);
return escapedValues.join('|');
return '(' + escapedValues.join('|') + ')';
}
render(interpolate?) {