Skip to content

Commit

Permalink
Merge branch '4.0' into 4
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jan 8, 2025
2 parents 9eb376b + a1c01dd commit 31e8ccb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Forms/GridFieldConfig_Lumberjack.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class GridFieldConfig_Lumberjack extends GridFieldConfig
public function __construct($itemsPerPage = null)
{
parent::__construct($itemsPerPage);

$this->addComponent(new GridFieldButtonRow('before'));
$this->addComponent(new GridFieldSiteTreeAddNewButton('buttons-before-left'));
$this->addComponent(new GridFieldToolbarHeader());
Expand All @@ -36,9 +35,7 @@ public function __construct($itemsPerPage = null)
$this->addComponent(new GridFieldDataColumns());
$this->addComponent(new GridFieldSiteTreeEditButton());
$this->addComponent(new GridFieldPageCount('toolbar-header-right'));
$this->addComponent($pagination = new GridFieldPaginator($itemsPerPage));
$this->addComponent(new GridFieldPaginator($itemsPerPage));
$this->addComponent(new GridFieldSiteTreeState());

$pagination->setThrowExceptionOnBadDataType(true);
}
}

0 comments on commit 31e8ccb

Please sign in to comment.