added logic to the micropanel filters in the table panel to handle undefined values better

This commit is contained in:
Spencer Alger
2013-08-30 16:41:59 -07:00
parent df91300bab
commit c9eccf99c8
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -127,6 +127,9 @@ angular.module('kibana.table', [])
// This needs to be abstracted somewhere
if(_.isArray(value)) {
query = "(" + _.map(value,function(v){return angular.toJson(v);}).join(" AND ") + ")";
} else if (_.isUndefined(value)) {
query = '*';
negate = !negate;
} else {
query = angular.toJson(value);
}