diff --git a/js/filters.js b/js/filters.js index 0b6c4580bfb..0f2a3aee7e8 100644 --- a/js/filters.js +++ b/js/filters.js @@ -20,4 +20,10 @@ angular.module('kibana.filters', []) }); return ret; }; +}).filter('slice', function() { + return function(arr, start, end) { + if(!_.isUndefined(arr)) { + return arr.slice(start, end); + } + }; }); \ No newline at end of file diff --git a/panels/table/module.html b/panels/table/module.html index ab70c773527..3671b721b44 100644 --- a/panels/table/module.html +++ b/panels/table/module.html @@ -34,7 +34,7 @@ -
+