cluster['list'])): ?>
transEsc('facet_list_empty')?>
options->getFacetListAction(); $alwaysUseLightbox = ($this->showMoreInLightbox && $this->showMoreInLightbox !== 'more') && $facetLightbox; $truncateSettings = $alwaysUseLightbox ? false : [ 'rows' => $this->facets_before_more, 'btn-class' => 'facet', 'more-label' => $this->transEsc('more_ellipsis'), 'less-label' => $this->transEsc('less_ellipsis'), 'wrapper-class' => false, 'wrapper-tagname' => 'li', ]; $facetLightboxParams = http_build_query( [ 'facet' => $this->title, 'facetop' => $this->cluster['list'][0]['operator'] ?? 'AND', 'facetexclude' => $this->allowExclude ? 1 : 0, ], '', '&' ); $moreUrl = '#'; if ($facetLightbox) { $moreUrl = $this->url($facetLightbox) . $results->getUrlQuery()->getParams() . "&$facetLightboxParams"; if (!empty($this->baseUriExtra)) { $moreUrl .= '&baseUriExtra=' . urlencode($this->baseUriExtra); } } $ulAttrs = $this->htmlAttributes(['class' => 'facet__list']); if ($truncateSettings) { $ulAttrs->add('class', 'truncate-facets'); $ulAttrs->add('data-truncate', $this->htmlSafeJsonEncode($truncateSettings, null)); } ?> > cluster['list'] as $i => $thisFacet): ?>
  • facets_before_more): ?> transEsc('more_ellipsis')?> render('Recommend/SideFacets/single-facet.phtml', [ 'exclude' => $this->allowExclude, 'facet' => $thisFacet, 'group' => $this->title, 'url' => $this->results->getUrlQuery(), 'urlBase' => '', ]) ?>
  • = $this->facets_before_more): ?> showMoreInLightbox === 'more' && $facetLightbox): ?>
  • transEsc('see_all_ellipsis')?>