Commit abd7c15b by Torkel Ödegaard

fix(TimePicker): Fix for when you applied custom time range it did not refreh…

fix(TimePicker): Fix for when you applied custom time range it did not refreh dashboard, fixes #2565
parent a4ff1e4f
...@@ -11,13 +11,14 @@ it allows you to add queries of differnet data source types & instances to the s ...@@ -11,13 +11,14 @@ it allows you to add queries of differnet data source types & instances to the s
**Fixes** **Fixes**
- [Issue #2490](https://github.com/grafana/grafana/issues/2490). Graphite: Dashboard import was broken in 2.1 and 2.1.1, working now - [Issue #2490](https://github.com/grafana/grafana/issues/2490). Graphite: Dashboard import was broken in 2.1 and 2.1.1, working now
- [Issue #2565](https://github.com/grafana/grafana/issues/2565). TimePicker: Fix for when you applied custom time range it did not refreh dashboard
**Breaking Changes** **Breaking Changes**
- Notice to makers/users of custom data sources, there is a minor breaking change in 2.2 that - Notice to makers/users of custom data sources, there is a minor breaking change in 2.2 that
require an update to custom data sources for them to work in 2.2. [Read this doc](https://github.com/grafana/grafana/tree/master/docs/sources/datasources/plugin_api.md) for more on the require an update to custom data sources for them to work in 2.2. [Read this doc](https://github.com/grafana/grafana/tree/master/docs/sources/datasources/plugin_api.md) for more on the
data source api change. data source api change.
# 2.1.x (currently unreleased patch branch) # 2.1.2 (2015-08-20)
**Fixes** **Fixes**
- [Issue #2558](https://github.com/grafana/grafana/issues/2558). DragDrop: Fix for broken drag drop behavior - [Issue #2558](https://github.com/grafana/grafana/issues/2558). DragDrop: Fix for broken drag drop behavior
......
...@@ -155,6 +155,8 @@ function (angular, app, _, moment, kbn) { ...@@ -155,6 +155,8 @@ function (angular, app, _, moment, kbn) {
// Update our representation // Update our representation
$scope.time = getScopeTimeObj(time.from,time.to); $scope.time = getScopeTimeObj(time.from,time.to);
timeSrv.setTime(_filter);
}; };
$scope.setRelativeFilter = function(timespan) { $scope.setRelativeFilter = function(timespan) {
......
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