0): ?>
results?->getResultTotal() ?? -1;
?>
permission()->allowDisplay($tab['permission'])): ?>
$this->escapeHtmlAttr($tab['class']),
];
if ($tab['selected']) {
$hasSelectedTab = true;
if ($this->showCounts && $resultTotal >= 0) {
$linkAttributes['data-result-total'] = $resultTotal;
} elseif ($this->showCounts) {
$linkAttributes['data-search-url'] = $tab['url'];
}
} else {
$linkAttributes['href'] = $tab['url'];
}
?>
- =$this->showCounts ? ' data-show-counts' : ''?>>
htmlAttributes($linkAttributes)?>>=$this->transEsc($tab['label']); ?>
permission()->getAlternateContent($tab['permission'])): ?>
=$block?>
translationEmpty('temporary_search_tab_title')): ?>
-
=$this->transEsc('temporary_search_tab_title')?>
showCounts): ?>
headScript()->appendFile('resultcount.js'); ?>