translate('Versions'); if ($this->driver) { $title .= ' - ' . $this->driver->getBreadcrumb(); } $this->slot('head-title')->set($title); $this->slot('search-heading')->set(''); $this->slot('empty-message')->set( $this->translate('nohit_lookfor_html', ['%%lookfor%%' => $this->transEsc('Versions')]) ); // Call the standard search template: echo $this->render('search/results.phtml'); // Override searchbox: $this->layout()->searchbox = $this->context($this)->renderInContext( 'search/versions-searchbox.phtml', [ 'searchType' => 'basic', 'searchIndex' => $this->params->getSearchHandler(), 'searchClassId' => $this->params->getSearchClassId(), 'selectedShards' => $this->params->getSelectedShards(), ] ) . $this->context($this)->renderInContext( 'search/filters.phtml', [ 'params' => $this->params, 'urlQuery' => $this->results->getUrlQuery(), 'filterList' => $this->params->getFilterList(true), 'checkboxFilters' => $this->params->getCheckboxFacets(), 'searchClassId' => $this->params->getSearchClassId(), 'searchType' => $this->params->getSearchType(), ] ); // Override breadcrumbs: $titleLink = ''; if ($this->driver) { $titleLink .= ' - ' . $this->driver->getBreadcrumb() . ''; } $this->layout()->breadcrumbs = '
  • ' . $this->transEsc('Versions') . $titleLink . '
  • ';