From 85b8f770abdcb51a50e4b1e2dfe7d1f6b961ce86 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 16 Mar 2022 12:46:57 +0100 Subject: [PATCH] Controller: Properly handle view compact requests --- library/Businessprocess/Web/Controller.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/Businessprocess/Web/Controller.php b/library/Businessprocess/Web/Controller.php index d1104d8..e9719e4 100644 --- a/library/Businessprocess/Web/Controller.php +++ b/library/Businessprocess/Web/Controller.php @@ -50,7 +50,6 @@ class Controller extends ModuleController = $this->showFullscreen = (bool) $this->_helper->layout()->showFullscreen; - $this->view->compact = $this->params->get('view') === 'compact'; $this->setViewScript('default'); } @@ -62,7 +61,7 @@ class Controller extends ModuleController if ($this->url === null) { $this->url = Url::fromPath( $this->getRequest()->getUrl()->getPath() - )->setParams($this->params); + )->setParams($this->getRequest()->getUrl()->getParams()); } return $this->url;