Skip to content

Commit

Permalink
Remove useless code.
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed Aug 16, 2023
1 parent 1c2e975 commit 9f8b32e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions themes/bootstrap3/templates/search/controls/showing.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
'%%lookfor%%' => $this->escapeHtml($this->lookfor),
];

$showingResults = $this->translate(
isset($this->skipTotalCount) ? 'showing_results_html' : 'showing_results_of_html',
$transParams
);

// Use simple format if search-heading is set, search type is not basic or we have a simple top paginator enabled:
$topPaginator = $this->results ? $this->results->getOptions()->getTopPaginatorStyle() : '';
if ($this->slot('search-heading')->isset() || $this->params->getSearchType() !== 'basic' || 'simple' === $topPaginator) {
Expand Down

0 comments on commit 9f8b32e

Please sign in to comment.