mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Elastic: Fix Elastic template variables interpolation when redirecting to Explore (#20314)
This commit is contained in:
@@ -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