From 89cdb3af8b75b417b0259e536a05e7a526d639c9 Mon Sep 17 00:00:00 2001 From: nicolas-lescop Date: Tue, 2 Dec 2014 11:35:15 +0100 Subject: [PATCH] Permit to display checkBoxes with config file Can be used for those wanting to make a deletable only list. --- modules/backend/behaviors/RelationController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/backend/behaviors/RelationController.php b/modules/backend/behaviors/RelationController.php index a9d2fc50c..eb32b418d 100644 --- a/modules/backend/behaviors/RelationController.php +++ b/modules/backend/behaviors/RelationController.php @@ -663,6 +663,7 @@ class RelationController extends ControllerBehavior $config->showSorting = $this->getConfig('view[showSorting]', true); $config->defaultSort = $this->getConfig('view[defaultSort]'); $config->recordsPerPage = $this->getConfig('view[recordsPerPage]'); + $config->showCheckboxes = $this->getConfig('view[showCheckboxes]', false); if (!$this->readOnly) { $config->recordOnClick = sprintf(