Controller: preserve name and config name

This commit is contained in:
Thomas Gelf 2015-02-13 01:53:28 +01:00
parent 809a1957de
commit 3e04cc1b2a

View file

@ -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;
}