Commit 867186fd by Torkel Ödegaard

Filtering: Fix for nested filters, changing a child filter could result in…

Filtering: Fix for nested filters, changing a child filter could result in infinite recursion in some cases, Fixes #628
parent 67582aae
......@@ -24,6 +24,7 @@
**Fixes**
- [Issue #545](https://github.com/grafana/grafana/issues/545). Chart: Fix formatting negative values (axis formats, legend values)
- [Issue #460](https://github.com/grafana/grafana/issues/460). Chart: fix for max legend value when max value is zero
- [Issue #628](https://github.com/grafana/grafana/issues/628). Filtering: Fix for nested filters, changing a child filter could result in infinite recursion in some cases
# 1.6.1 (2014-06-24)
......
......@@ -53,7 +53,7 @@ function (angular, app, _) {
if (templateParam === updatedTemplatedParam) {
return;
}
if (templateParam.query.indexOf(updatedTemplatedParam.name) !== -1) {
if (templateParam.query.indexOf('[[' + updatedTemplatedParam.name + ']]') !== -1) {
return $scope.applyFilter(templateParam);
}
});
......
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