Skip to content

Commit

Permalink
Allow setting customview path for relation list (#4680)
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Lang authored and daftspunk committed Dec 10, 2019
1 parent 8abed17 commit d4d1874
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/backend/behaviors/RelationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ protected function makeViewWidget()
$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')",
Expand Down

0 comments on commit d4d1874

Please sign in to comment.