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

View File

@ -122,11 +122,15 @@ class ImportsourceController extends ActionController
public function editmodifierAction() 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->addTitle(
$this->translate('%s: Property Modifier'), $this->translate('%s: Property Modifier'),
$source->get('source_name') $source->get('source_name')
)->addBackToModifiersLink($source); )->addBackToModifiersLink($source);
$source = $this->requireImportSourceAndAddModifierTable();
$this->tabs()->activate('modifier'); $this->tabs()->activate('modifier');
$listUrl = 'director/importsource/modifier?source_id=' $listUrl = 'director/importsource/modifier?source_id='