ImportsourceController: search should be shown...

...next to the title
This commit is contained in:
Thomas Gelf 2018-01-25 10:11:48 +01:00
parent 2f3e8c406f
commit 91cb98e02f
1 changed files with 5 additions and 1 deletions

View File

@ -122,11 +122,15 @@ class ImportsourceController extends ActionController
public function editmodifierAction()
{
$source = $this->requireImportSourceAndAddModifierTable();
// We need to load the table AFTER adding the title, otherwise search
// will not be placed next to the title
$source = ImportSource::load($this->params->getRequired('source_id'), $this->db());
$this->addTitle(
$this->translate('%s: Property Modifier'),
$source->get('source_name')
)->addBackToModifiersLink($source);
$source = $this->requireImportSourceAndAddModifierTable();
$this->tabs()->activate('modifier');
$listUrl = 'director/importsource/modifier?source_id='