소스 검색

DrilldownLink: template variables in params property was not interpolated, Fixes #1095

Torkel Ödegaard 11 년 전
부모
커밋
de10bd4ef6
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 2
      CHANGELOG.md
  2. 1 1
      src/app/features/panellinkeditor/linkSrv.js

+ 3 - 2
CHANGELOG.md

@@ -1,8 +1,9 @@
 # 1.9.0 (unreleased)
 
 **Fixes**
-- [Issue #1087](https://github.com/grafana/grafana/issues/1087). Bug: Fixed IE9 crash due to angular drag drop
-- [Issue #1093](https://github.com/grafana/grafana/issues/1093). Bug: Fixed position for drilldown link tooltip when dashboard requires scrolling
+- [Issue #1087](https://github.com/grafana/grafana/issues/1087). Panel: Fixed IE9 crash due to angular drag drop
+- [Issue #1093](https://github.com/grafana/grafana/issues/1093). SingleStatPanel: Fixed position for drilldown link tooltip when dashboard requires scrolling
+- [Issue #1095](https://github.com/grafana/grafana/issues/1095). DrilldownLink: template variables in params property was not interpolated
 
 # 1.9.0-rc1 (2014-11-17)
 

+ 1 - 1
src/app/features/panellinkeditor/linkSrv.js

@@ -29,7 +29,7 @@ function (angular, kbn) {
         info.href += '&to=' + range.to;
 
         if (link.params) {
-          info.href += "&" + link.params;
+          info.href += "&" + templateSrv.replace(link.params);
         }
 
         return info;