revert special handling for IN

This commit is contained in:
Sven Klemm
2018-03-13 23:24:26 +01:00
parent 5e9a66de5f
commit e6501f0f0e
@@ -137,12 +137,8 @@ export default class PostgresQuery {
value = this.templateSrv.replace(value, this.scopedVars); value = this.templateSrv.replace(value, this.scopedVars);
} }
if (operator === "IN") {
return str + constraint.key + ' ' + operator + ' (' + value + ')';
} else {
return str + constraint.key + ' ' + operator + ' ' + value; return str + constraint.key + ' ' + operator + ' ' + value;
} }
}
interpolateQueryStr(value, variable, defaultFormatFn) { interpolateQueryStr(value, variable, defaultFormatFn) {
// if no multi or include all do not regexEscape // if no multi or include all do not regexEscape