params->getDisplayQuery(); $headTitle = $this->slot('head-title') ->get($this->translate('Search Results') . (empty($lookfor) ? '' : " - {$lookfor}")); $this->headTitle($headTitle); // Set up search box: $this->layout()->searchbox = $this->context($this)->renderInContext( 'search/searchbox.phtml', [ 'lookfor' => $lookfor, 'searchIndex' => $this->params->getSearchHandler(), 'searchType' => $this->params->getSearchType(), 'searchId' => $this->results->getSearchId(), 'searchClassId' => $this->params->getSearchClassId(), 'checkboxFilters' => $this->params->getCheckboxFacets(), 'filterList' => $this->params->getFilterList(true), 'hasDefaultsApplied' => $this->params->hasDefaultsApplied(), 'selectedShards' => $this->params->getSelectedShards(), ] ); // Create shortcut to combined results (since $this->results may get overwritten in processing below): $combinedResults = $this->results; // Set up breadcrumbs: $this->layout()->breadcrumbs = '
  • ' . $this->escapeHtml($headTitle) . '
  • '; // Check if any results have version support enabled: $displayVersions = false; foreach (array_keys($this->combinedResults) as $configSection) { [$searchClassId] = explode(':', $configSection); if ($this->searchOptions($searchClassId)->getVersionsAction()) { $displayVersions = true; break; } } // Load Javascript dependencies into header: $this->render('search/results-scripts.phtml', compact('displayVersions')); $this->headScript()->appendFile('combined-search.js'); // Style $this->headLink()->appendStylesheet('combined-search.css'); ?> flashmessages()?>

    escapeHtml($headTitle)?>

    getRecommendations('top'); ?>
    recommend($current)?>
    render('combined/jump-links.phtml', ['combinedResults' => $this->combinedResults])?>
    context($this)->renderInContext('search/bulk-action-buttons.phtml', ['idPrefix' => ''])?>
    $searchClassId, 'combinedResults' => $this->combinedResults, ]; ?>
    context($this)->renderInContext('combined/stack-' . $placement . '.phtml', $viewParams); ?>
    context($this)->renderInContext('combined/stack-' . $placement . '.phtml', $viewParams); ?> getRecommendations('bottom'); ?>
    recommend($current)?>