Elastic: Fix Elastic template variables interpolation when redirecting to Explore (#20314)
(cherry picked from commit 822b0b2708)
This commit is contained in:
committed by
Kyle Brandt
parent
8fa29f2497
commit
4d7edd3cd8
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user