From 012ffcf6f6e095831fea12bfb50b0300a7083abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sat, 21 Jun 2014 17:27:57 +0200 Subject: [PATCH] Bug in when using % sign in legends (aliases), fixed by removing url decoding of metric names (Fixes #506) --- CHANGELOG.md | 1 + src/app/filters/all.js | 6 ------ src/app/panels/filtering/module.html | 2 +- src/app/panels/graph/legend.html | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55b2582bd2c..cf8e2f6d330 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ vNext **Fixes** - Fixes regex InfluxDB queries intoduced in 1.6.0 (PR #500) +- Bug in when using % sign in legends (aliases), fixed by removing url decoding of metric names (Fixes #506) # 1.6.0 (2014-06-16) diff --git a/src/app/filters/all.js b/src/app/filters/all.js index 0a6dd12b816..e4ffe7088c8 100755 --- a/src/app/filters/all.js +++ b/src/app/filters/all.js @@ -114,10 +114,4 @@ define(['angular', 'jquery', 'underscore', 'moment'], function (angular, $, _, m }; }); - module.filter('urlDecode', function() { - return function(input) { - return decodeURIComponent(input); - }; - }); - }); \ No newline at end of file diff --git a/src/app/panels/filtering/module.html b/src/app/panels/filtering/module.html index 3c95fbd3751..96b5751ce7d 100755 --- a/src/app/panels/filtering/module.html +++ b/src/app/panels/filtering/module.html @@ -17,7 +17,7 @@ diff --git a/src/app/panels/graph/legend.html b/src/app/panels/graph/legend.html index 45eca738848..84aab5020f6 100755 --- a/src/app/panels/graph/legend.html +++ b/src/app/panels/graph/legend.html @@ -9,7 +9,7 @@ - {{series.alias | urlDecode}} + {{series.alias}}