mirror of https://github.com/grafana/grafana.git
InfluxDB SQL: Fix sql query template variable interpolation (#78557)
interpolate sql too
This commit is contained in:
parent
5b851d7410
commit
2e756395f7
|
|
@ -182,7 +182,7 @@ export default class InfluxDatasource extends DataSourceWithBackend<InfluxQuery,
|
|||
};
|
||||
}
|
||||
|
||||
if (this.isMigrationToggleOnAndIsAccessProxy()) {
|
||||
if (this.version === InfluxVersion.SQL || this.isMigrationToggleOnAndIsAccessProxy()) {
|
||||
query = this.applyVariables(query, rest);
|
||||
if (query.adhocFilters?.length) {
|
||||
const adhocFiltersToTags: InfluxQueryTag[] = (query.adhocFilters ?? []).map((af) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue