Merge pull request #87 from rashidkpc/master

Enclude terms in quotes in derivequeries
This commit is contained in:
Rashid Khan
2013-05-16 07:37:47 -07:00
+1 -1
View File
@@ -81,7 +81,7 @@ angular.module('kibana.derivequeries', [])
$scope.panel.loading = false;
var data = [];
_.each(results.facets.query.terms, function(v) {
data.push($scope.panel.field+":"+v.term)
data.push($scope.panel.field+':"'+v.term+'"')
});
console.log(data)
$scope.send_query(data)