Skip to content

Commit

Permalink
replace getadhocvariables with getadhocfilters
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaticusgreen committed Nov 19, 2024
1 parent d81f229 commit 2ec498d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasource/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ export
createQuery(options: any, target: any) {
const queryModel = new SqlQuery(target, this.templateSrv, options);
// @ts-ignore
const adhocFilters = getAdhocFilters(this.adHocFilter?.datasource?.name || 'clickhouse',this.uid )
const adhocFilters = getAdhocFilters(this.adHocFilter?.datasource?.name,this.uid )
const stmt = queryModel.replace(options, adhocFilters);

let keys = [];
Expand Down

0 comments on commit 2ec498d

Please sign in to comment.