Merge pull request #807 from nicolas-lescop/patch-6

Permit to display checkBoxes with config file
This commit is contained in:
Samuel Georges 2014-12-06 09:14:28 +11:00
commit cafe636f58
1 changed files with 1 additions and 0 deletions

View File

@ -678,6 +678,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(