Issue Bug Closed

#19355class.tslib_pibase.php::pi_list_query() does not support different 'pointer' - Names

Michael Duttlinger 09/19/08, 09:57 updated 09/09/13, 09:48

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.