Commit 822b0b27 by Ivana Huckova Committed by GitHub

Elastic: Fix Elastic template variables interpolation when redirecting to Explore (#20314)

parent b8029dcd
......@@ -264,7 +264,7 @@ export class ElasticDatasource extends DataSourceApi<ElasticsearchQuery, Elastic
const expandedQuery = {
...query,
datasource: this.name,
query: this.templateSrv.replace(query.query),
query: this.templateSrv.replace(query.query, {}, 'lucene'),
};
return expandedQuery;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment