- {{{true: "__blank__",false:field[0]}[field[0] == ""]|tableTruncate:panel.trimFactor:3}} |
+ {{{true: "__blank__", false:field[0] }[field[0] == '' || field[0] == undefined]|tableTruncate:panel.trimFactor:3}} |
diff --git a/panels/table/module.js b/panels/table/module.js
index 631248cd049f9..52c7367548e62 100644
--- a/panels/table/module.js
+++ b/panels/table/module.js
@@ -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);
}
|