Skip to content
Snippets Groups Projects
Commit a1694915 authored by ha848myco's avatar ha848myco Committed by Dorian Merz
Browse files

refs #17607 [master] <h4> becomes <h2>

* On the sidebar: <h4> becomes <h2>
parent 390d4184
No related merge requests found
<!-- finc - templates - Recommend - ExpandFacets -->
<?php /* copied from bootstrap3 - h4 becomes h2 - #17607 - HR */?>
<?php
$expandFacetSet = $this->recommend->getExpandedSet();
// Get empty search object to use as basis for parameter generation below:
$blankResults = $this->recommend->getEmptyResults();
?>
<?php if ($expandFacetSet): ?>
<div class="sidegroup">
<?php foreach ($expandFacetSet as $title => $cluster): ?>
<h2><?=$this->transEsc($cluster['label']) ?></h2>
<div class="list-group">
<?php foreach ($cluster['list'] as $thisFacet): ?>
<a class="list-group-item" href="<?=$this->url('search-results') . $blankResults->getUrlQuery()->addFacet($title, $thisFacet['value'])?>"><?=$this->escapeHtml($thisFacet['displayText'])?></a>
<?php endforeach; ?>
</div>
<?php endforeach; ?>
</div>
<?php endif; ?>
<!-- finc - templates - Recommend - ExpandFacets - END -->
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