diff --git a/themes/fid_bbi/templates/layout/layout.phtml b/themes/fid_bbi/templates/layout/layout.phtml index 88fbf693f845fe6f88991d2986c2920de8f5aaca..ac3f0390dd18ffe74bb0ba290640046943a41d45 100644 --- a/themes/fid_bbi/templates/layout/layout.phtml +++ b/themes/fid_bbi/templates/layout/layout.phtml @@ -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'); } ?>