Browse Source

fix(influxdb) fix tag value autocomplete with upper case values, fixes #5399 (#5919)

cmartin0077 9 years ago
parent
commit
9c08d7aef5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/core/directives/metric_segment.js

+ 1 - 1
public/app/core/directives/metric_segment.js

@@ -113,7 +113,7 @@ function (_, $, coreModule) {
           if (str[0] === '/') { str = str.substring(1); }
           if (str[str.length - 1] === '/') { str = str.substring(0, str.length-1); }
           try {
-            return item.toLowerCase().match(str);
+            return item.toLowerCase().match(str.toLowerCase());
           } catch(e) {
             return false;
           }