Yet another fix for #228

This commit is contained in:
Rashid Khan 2013-07-18 11:06:57 -07:00
parent 1e3d382245
commit 7c9f14ad5e

View File

@ -110,7 +110,7 @@ angular.module('kibana.table', [])
var query;
// This needs to be abstracted somewhere
if(_.isArray(value)) {
query = field+":(" + _.map(value,function(v){return angular.toJson(v)}).join(",") + ")";
query = field+":(" + _.map(value,function(v){return angular.toJson(v)}).join(" AND ") + ")";
} else {
query = field+":"+angular.toJson(value);
}