Enclose string in quotes

This commit is contained in:
Rashid Khan 2013-05-16 07:35:39 -07:00
parent a608b80970
commit c25fd72cbf

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)