mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00
fix variable interpolation
This commit is contained in:
@ -239,6 +239,9 @@ export default class PostgresQuery {
|
||||
|
||||
query += ' ORDER BY time';
|
||||
|
||||
if (interpolate) {
|
||||
query = this.templateSrv.replace(query, this.scopedVars, this.interpolateQueryStr);
|
||||
}
|
||||
return query;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user