Actions
Bug #19355
closedclass.tslib_pibase.php::pi_list_query() does not support different 'pointer' - Names
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2008-09-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The following line at Line 1098:
$pointer = $this->piVars['pointer'];
makes it impossible to use diffrent name for the pointer as described in Line 427: * Using $this->piVars['pointer'] as pointer to the page to display. Can be overwritten with another string ($pointerName) to make it possible to have more than one pagebrowser on a page) by function pi_list_browseresults
Solutions:
override line with : $pointer = intval($this->piVars[$pointerName]);
and implement a function param like $pointerName='pointer'
or
implement a $this->internal['pointerName'] with default = 'pointer' for use
in pi_list_browseresults() and pi_list_query()
(issue imported from #M9388)
Actions