mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
Controller: preserve name and config name
This commit is contained in:
parent
809a1957de
commit
3e04cc1b2a
1 changed files with 6 additions and 3 deletions
|
|
@ -40,11 +40,14 @@ class Controller extends ModuleActionController
|
|||
'title' => $this->translate('Show'),
|
||||
'url' => 'businessprocess/process/show',
|
||||
));
|
||||
if ($process = $this->params->get('process')) {
|
||||
foreach ($tabs->getTabs() as $tab) {
|
||||
$tab->setUrlParams(array('process' => $process));
|
||||
foreach (array('processName', 'process') as $param) {
|
||||
if ($process = $this->params->get($param)) {
|
||||
foreach ($tabs->getTabs() as $tab) {
|
||||
$tab->setUrlParams(array($param => $process));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $tabs;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue