Commit af6fddae by Rashid Khan

Merge pull request #234 from rashidkpc/master

Another fix for #228
parents 3aee7c2f 1e3d3822
...@@ -110,7 +110,7 @@ angular.module('kibana.table', []) ...@@ -110,7 +110,7 @@ angular.module('kibana.table', [])
var query; var query;
// This needs to be abstracted somewhere // This needs to be abstracted somewhere
if(_.isArray(value)) { 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(",") + ")";
} else { } else {
query = field+":"+angular.toJson(value); query = field+":"+angular.toJson(value);
} }
......
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