File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
public/app/plugins/datasource/influxdb Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 10
10
* ** Graph Panel** : Fixed legend option max not updating, fixes [ #4601 ] ( https://github.com/grafana/grafana/issues/4601 )
11
11
* ** Graph Panel** : Fixed issue where newly added graph panels shared same axes config, fixes [ #4582 ] ( https://github.com/grafana/grafana/issues/4582 )
12
12
* ** Graph Panel** : Fixed issue with axis labels overlapping Y-axis, fixes [ #4626 ] ( https://github.com/grafana/grafana/issues/4626 )
13
+ * ** InfluxDB** : Fixed issue with templating query containing template variable, fixes [ #4602 ] ( https://github.com/grafana/grafana/issues/4602 )
13
14
14
15
# 3.0.0-beta2 (2016-04-04)
15
16
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export default class InfluxDatasource {
107
107
108
108
var timeFilter = this . getTimeFilter ( { rangeRaw : options . rangeRaw } ) ;
109
109
var query = options . annotation . query . replace ( '$timeFilter' , timeFilter ) ;
110
- query = this . templateSrv . replace ( query ) ;
110
+ query = this . templateSrv . replace ( query , null , 'regex' ) ;
111
111
112
112
return this . _seriesQuery ( query ) . then ( data => {
113
113
if ( ! data || ! data . results || ! data . results [ 0 ] ) {
You can’t perform that action at this time.
0 commit comments