<?php foreach ($checkboxFilters as $current): ?>
  <a class="checkbox-filter<?php if(!($results->getResultTotal() > 0 || $current['selected'] || $current['alwaysVisible'])): ?> hidden<?php endif; ?>" href="<?=$current['selected'] ? $results->getUrlQuery()->removeFilter($current['filter']) : $results->getUrlQuery()->addFilter($current['filter']);?>">
    <i class="fa fa-<?=$current['selected'] ? 'check-square-o' : 'square-o' ?>"></i>
    <?=$this->transEsc($current['desc']) ?>
  </a>
<?php endforeach; ?>
