From d4d18743119f61a9812d23f755e166dddb7ee32b Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Tue, 10 Dec 2019 10:21:56 +0100 Subject: [PATCH] Allow setting customview path for relation list (#4680) --- 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 2306b5ffb..deb84260f 100644 --- a/modules/backend/behaviors/RelationController.php +++ b/modules/backend/behaviors/RelationController.php @@ -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')",