From 1b6bbfa6dc2fa80dbd9cab7e9fdd1b5b77fe22b7 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Thu, 25 Nov 2021 16:16:32 +0100 Subject: [PATCH] Re-add lost feature from merge 3.x into 4.x --- src/Admin/AbstractAdmin.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Admin/AbstractAdmin.php b/src/Admin/AbstractAdmin.php index c4a14cdb6e6..90c647ecc79 100644 --- a/src/Admin/AbstractAdmin.php +++ b/src/Admin/AbstractAdmin.php @@ -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,