Commit c25fd72c by Rashid Khan

Enclose string in quotes

parent a608b809
......@@ -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