Skip to content

Commit

Permalink
influxdb: fixed template variable interpolation of multi valued varia…
Browse files Browse the repository at this point in the history
…bles when using raw query editor mode, fixes grafana#8165
  • Loading branch information
torkelo committed Apr 25, 2017
1 parent 19a04b7 commit d2a22e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/app/plugins/datasource/influxdb/influx_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default class InfluxQuery {
}

var escapedValues = _.map(value, kbn.regexEscape);
return escapedValues.join('|');
return '(' + escapedValues.join('|') + ')';
}

render(interpolate?) {
Expand Down

0 comments on commit d2a22e7

Please sign in to comment.