ixed influxdb issue with raw query that caused wrong value column detection (Fixes #504)

This commit is contained in:
Torkel Ödegaard committed 2014-06-22 12:01:41 +02:00
1 parent a3aca0bae4
commit 551771c6cf
2 files changed
+2 -1

No files matched your search

@@ -43,7 +43,7 @@ function (angular, _, kbn) {
var groupByIndex = lowerCaseQueryElements.indexOf("group");
var orderIndex = lowerCaseQueryElements.indexOf("order");
if (lowerCaseQueryElements[1].indexOf(',')) {
if (lowerCaseQueryElements[1].indexOf(',') !== -1) {
groupByField = lowerCaseQueryElements[1].replace(',', '');
}