From 8b5ac5e56eaf23111116fb4544bf4ad8a679cfdc Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Wed, 11 Sep 2013 16:41:53 -0700 Subject: [PATCH] Show _source by default, sort by _score by default --- panels/table/module.html | 14 +++++++++----- panels/table/module.js | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/panels/table/module.html b/panels/table/module.html index 92f3bdce87d..b59af11d472 100644 --- a/panels/table/module.html +++ b/panels/table/module.html @@ -39,10 +39,12 @@ -
No columns configured. You may want to select some from the list on the left.
+ + + - + + - diff --git a/panels/table/module.js b/panels/table/module.js index 0b2f62b3cdf..bfac1a3ecf1 100644 --- a/panels/table/module.js +++ b/panels/table/module.js @@ -45,10 +45,10 @@ angular.module('kibana.table', []) size : 100, // Per page pages : 5, // Pages available offset : 0, - sort : ['@timestamp','desc'], + sort : ['_score','desc'], group : "default", style : {'font-size': '9pt'}, - overflow: 'height', + overflow: 'min-height', fields : [], highlight : [], sortable: true,
_source (select columns from the list to the left) @@ -58,7 +60,8 @@
{{event._source|stringify|tableTruncate:panel.trimFactor:1}}
@@ -70,9 +73,10 @@
{{key}} - - + + + +