Commit 41ef049b by Rashid Khan

Merge pull request #87 from rashidkpc/master

Enclude terms in quotes in derivequeries
parents b164e5ea c25fd72c
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment