Actions
Bug #15284
closedpi_list_browseresults - given maxPages shows always just the first pages
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-12-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When you specify the value for maxPage, for example to the value 3, then the first three pages are always shown in the list. Also if you are already on page 4 or higher.
I changed the following line by adding '$pointer+' to correct this issue:
$pageText = trim($this->pi_getLL('pi_list_browseresults_page','Page',$hscText).' '.($a+1));
to
$pageText = trim($this->pi_getLL('pi_list_browseresults_page','Page',$hscText).' '.($pointer+$a+1));
(issue imported from #M2044)
Files
Actions