Commit c5ff1e45 by Torkel Ödegaard

Merge branch 'v4.0.x'

parents e1d52902 a9c0f66c
...@@ -54,6 +54,7 @@ due to too many connections/file handles on the data source backend. This proble ...@@ -54,6 +54,7 @@ due to too many connections/file handles on the data source backend. This proble
* **Singlestat**: Support repeated template variables in prefix/postfix [#6595](https://github.com/grafana/grafana/issues/6595) * **Singlestat**: Support repeated template variables in prefix/postfix [#6595](https://github.com/grafana/grafana/issues/6595)
* **Templating**: Don't persist variable options with refresh option [#6586](https://github.com/grafana/grafana/issues/6586) * **Templating**: Don't persist variable options with refresh option [#6586](https://github.com/grafana/grafana/issues/6586)
* **Alerting**: Add ability to have OR conditions (and mixing AND & OR) [#6579](https://github.com/grafana/grafana/issues/6579) * **Alerting**: Add ability to have OR conditions (and mixing AND & OR) [#6579](https://github.com/grafana/grafana/issues/6579)
* **InfluxDB**: Fix for Ad-Hoc Filters variable & changing dashboards [#6821](https://github.com/grafana/grafana/issues/6821)
# 4.0-beta1 (2016-11-09) # 4.0-beta1 (2016-11-09)
......
...@@ -110,6 +110,7 @@ function(angular, _) { ...@@ -110,6 +110,7 @@ function(angular, _) {
_.each(dash.templating.list, function(value) { _.each(dash.templating.list, function(value) {
value.current = null; value.current = null;
value.options = null; value.options = null;
value.filters = null;
}); });
}; };
......
...@@ -25,6 +25,7 @@ function (angular, _, kbn) { ...@@ -25,6 +25,7 @@ function (angular, _, kbn) {
this.updateTemplateData = function() { this.updateTemplateData = function() {
this._index = {}; this._index = {};
this._filters = {}; this._filters = {};
this._adhocVariables = {};
for (var i = 0; i < this.variables.length; i++) { for (var i = 0; i < this.variables.length; i++) {
var variable = this.variables[i]; var variable = this.variables[i];
......
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