searchOptions($searchClassId);
$basicSearch = $options->getSearchAction();
$advSearch = $options->getAdvancedSearchAction();
$noJsSupport = $this->config()->nonJavascriptSupportEnabled();
$format = '%%displayText%%'; // change to '%%displayText%% (%%count%%)' if you want to show counts
?>
$details): ?>
transEsc('home_browse_by_facet', ['%%facet%%' => $this->translate($details['label'])]); ?>
=$labelHeading?>
=$this->render('Recommend/SideFacets/hierarchical-facet-level.phtml', [
'exclude' => false,
'facetList' => $details['list'],
'group' => $field,
'url' => $results->getUrlQuery(),
'urlBase' => $this->url($options->getSearchAction()),
]) ?>
sortFacetList($results, $field, $details['list'], $basicSearch, $format);
// Special case: two columns for LC call numbers...
$maxListLength = $field == 'callnumber-first'
? $columnSize * 2 : $columnSize;
// Special case: custom URLs for collections...
$moreUrl = $field == 'hierarchy_top_title'
? $this->url('collections-home') : $this->url($advSearch);
// Convenience variable:
$currentListLength = count($sortedList);
$i = 0;
?>
$value): ?>
url('collections-bytitle') . '?title=' . urlencode($value);
}
?>
- =$this->escapeHtml(empty($value) ? '-' : $value)?>
= $currentListLength) {
// end of list? bail out!
break;
}
?>
= $maxListLength): // list too long? show more link! ?>
- =$this->transEsc('more_options_ellipsis')?>