Skip to content

Commit

Permalink
Update default_results.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pjmatos committed Apr 14, 2015
1 parent 6576559 commit bca6967
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
// Prepare the pagination string. Results X - Y of Z
$start = (int) $this->pagination->get('limitstart') + 1;
$total = (int) $this->pagination->get('total');
$limit = (int) $this->pagination->get('limit') * $this->pagination->pagesTotal;
$limit = (int) $this->pagination->get('limit') * $this->pagination->get('pages.current');
$limit = (int) ($limit > $total ? $total : $limit);

echo JText::sprintf('COM_FINDER_SEARCH_RESULTS_OF', $start, $limit, $total);
Expand Down

0 comments on commit bca6967

Please sign in to comment.