mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-20 23:00:16 -05:00
Controller: Properly handle view compact requests
This commit is contained in:
parent
554b96cebe
commit
85b8f770ab
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue