Allow setting customview path for relation list (#4680)

This commit is contained in:
Philipp Lang 2019-12-10 10:21:56 +01:00 committed by Samuel Georges
parent 8abed1794f
commit d4d1874311
1 changed files with 1 additions and 0 deletions

View File

@ -666,6 +666,7 @@ class RelationController extends ControllerBehavior
$config->recordsPerPage = $this->getConfig('view[recordsPerPage]');
$config->showCheckboxes = $this->getConfig('view[showCheckboxes]', !$this->readOnly);
$config->recordUrl = $this->getConfig('view[recordUrl]', null);
$config->customViewPath = $this->getConfig('view[customViewPath]', null);
$defaultOnClick = sprintf(
"$.oc.relationBehavior.clickViewListRecord(':%s', '%s', '%s')",