فهرست منبع

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)
 # 1.9.0 (unreleased)
 
 
 **Fixes**
 **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.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;
         info.href += '&to=' + range.to;
 
 
         if (link.params) {
         if (link.params) {
-          info.href += "&" + link.params;
+          info.href += "&" + templateSrv.replace(link.params);
         }
         }
 
 
         return info;
         return info;