Skip to content

Commit

Permalink
FIX Remove second paginator. The original is invisible, but will be f…
Browse files Browse the repository at this point in the history
…ixed in the framework.
  • Loading branch information
robbieaverill committed Jan 28, 2017
1 parent 340296c commit 69aea38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Admin/LogViewerAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 69aea38

Please sign in to comment.