From 992453a87b49b9c8c362026d4364ad24c7ae8d95 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Sun, 29 Jan 2017 11:29:20 +1300 Subject: [PATCH] FIX Remove second paginator. The original is invisible, but will be fixed in the framework. --- src/Admin/LogViewerAdmin.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Admin/LogViewerAdmin.php b/src/Admin/LogViewerAdmin.php index 0f73a67..74bec7b 100644 --- a/src/Admin/LogViewerAdmin.php +++ b/src/Admin/LogViewerAdmin.php @@ -6,7 +6,6 @@ use SilverLeague\LogViewer\Forms\GridField\GridFieldClearAllButton; use SilverStripe\Admin\ModelAdmin; use SilverStripe\Forms\GridField\GridFieldAddNewButton; -use SilverStripe\Forms\GridField\GridFieldPaginator; use SilverStripe\View\Requirements; /** @@ -66,7 +65,6 @@ public function getEditForm($id = null, $fields = null) $config = $gridField->getConfig(); $config->removeComponentsByType($config->getComponentByType(GridFieldAddNewButton::class)); $config->addComponent(new GridFieldClearAllButton('buttons-before-left')); - $config->addComponent(new GridFieldPaginator); return $form; }