Explorar o código

Merge pull request #234 from rashidkpc/master

Another fix for #228
Rashid Khan %!s(int64=12) %!d(string=hai) anos
pai
achega
af6fddaed4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      panels/table/module.js

+ 1 - 1
panels/table/module.js

@@ -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(",") + ")";
     } else {
       query = field+":"+angular.toJson(value);
     }