From 07dcfaa1a1362df347be7c58e97f1a7ba058e857 Mon Sep 17 00:00:00 2001 From: FrankHassanabad Date: Mon, 13 Jan 2020 11:40:24 -0700 Subject: [PATCH 1/2] Increased the number or rules you can view on a single page --- .../siem/public/pages/detection_engine/rules/all/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/all/index.tsx b/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/all/index.tsx index e900058b6c53c..c122362cc6b28 100644 --- a/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/all/index.tsx +++ b/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/all/index.tsx @@ -214,10 +214,10 @@ export const AllRules = React.memo<{ }); }} pagination={{ - pageIndex: pagination.page - 1, + pageIndex: pagination.page - 4, pageSize: pagination.perPage, totalItemCount: pagination.total, - pageSizeOptions: [5, 10, 20], + pageSizeOptions: [5, 10, 20, 50, 100, 200, 300], }} sorting={{ sort: { field: 'activate', direction: filterOptions.sortOrder } }} selection={hasNoPermissions ? undefined : euiBasicTableSelectionProps} From 0c3127e988fb6b6dfa3562581238498044a8f486 Mon Sep 17 00:00:00 2001 From: FrankHassanabad Date: Mon, 13 Jan 2020 12:07:23 -0700 Subject: [PATCH 2/2] messed up one line --- .../siem/public/pages/detection_engine/rules/all/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/all/index.tsx b/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/all/index.tsx index c122362cc6b28..d928cc0949851 100644 --- a/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/all/index.tsx +++ b/x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/all/index.tsx @@ -214,7 +214,7 @@ export const AllRules = React.memo<{ }); }} pagination={{ - pageIndex: pagination.page - 4, + pageIndex: pagination.page - 1, pageSize: pagination.perPage, totalItemCount: pagination.total, pageSizeOptions: [5, 10, 20, 50, 100, 200, 300],