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

This commit is contained in:
cmartin0077 2016-08-29 04:03:54 -07:00 committed by Torkel Ödegaard
parent 5ba6bab237
commit 9c08d7aef5

View File

@ -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;
}