Skip to content
Snippets Groups Projects
Commit 5f0d310e authored by Demian Katz's avatar Demian Katz
Browse files

Bug fix: template refactoring broke collection side facets.

parent 1d6964fa
Branches
Tags
No related merge requests found
<?
$this->headScript()->appendFile('facets.js');
$results = $this->recommend->getResults();
$options = $this->searchOptions($this->searchClassId);
// Save results/options to $this so they are available to sub-templates:
$this->results = $results = $this->recommend->getResults();
$this->options = $options = $this->searchOptions($this->searchClassId);
?>
<? if ($results->getResultTotal() > 0): ?>
<h4><?=$this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search')?></h4>
......
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