Project

General

Profile

Actions

Bug #15284

closed

pi_list_browseresults - given maxPages shows always just the first pages

Added by Andreas Bruckmeier almost 19 years ago. Updated about 11 years ago.

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

class.tslib_pibase.php.patch.patch (613 Bytes) class.tslib_pibase.php.patch.patch Administrator Admin, 2005-12-14 23:31
Actions

Also available in: Atom PDF