Skip to content
Snippets Groups Projects
Commit a8603e7c authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #19708 [fid_bbi] render searchbox on Records/Home

parent fc6dae01
No related merge requests found
......@@ -10,7 +10,11 @@
// 3. It is set to a custom string; we should display the provided version
// Set up default search box if no data was provided from the template;
// this covers case 1. Cases 2 and 3 are then covered by logic below.
if ($this->templateName === 'advanced' || !isset($this->layout()->searchbox)) {
if (
$this->templateName === 'advanced'
|| $this->templateDir === 'records'
|| !isset($this->layout()->searchbox)
) {
$this->layout()->searchbox = $this->render('search/searchbox.phtml');
}
?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment