Skip to content

Commit

Permalink
Re-add lost feature from merge 3.x into 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Nov 25, 2021
1 parent 3122f2d commit 1b6bbfa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Admin/AbstractAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2437,7 +2437,10 @@ private function buildList(): ?FieldDescriptionCollection
$extension->configureListFields($mapper);
}

if ($this->hasRequest() && $this->getRequest()->isXmlHttpRequest()) {
if ($this->hasRequest()
&& $this->getRequest()->isXmlHttpRequest()
&& $this->getRequest()->query->getBoolean('select', true)) // NEXT_MAJOR: Change the default value to `false` in version 5
{
$mapper->add(ListMapper::NAME_SELECT, ListMapper::TYPE_SELECT, [
'label' => false,
'sortable' => false,
Expand Down

0 comments on commit 1b6bbfa

Please sign in to comment.