|
|
@@ -153,7 +153,7 @@ export default class InfluxQuery {
|
|
|
value = this.templateSrv.replace(value, this.scopedVars);
|
|
|
}
|
|
|
if (operator !== '>' && operator !== '<') {
|
|
|
- value = "'" + value.replace('\\', '\\\\') + "'";
|
|
|
+ value = "'" + value.replace(/\\/g, '\\\\') + "'";
|
|
|
}
|
|
|
} else if (interpolate){
|
|
|
value = this.templateSrv.replace(value, this.scopedVars, 'regex');
|