Bug #15378 » bug_2211_w.diff
t3lib/class.t3lib_recordlist.php (Arbeitskopie) | ||
---|---|---|
*/
|
||
function fwd_rwd_nav($table='') {
|
||
$code='';
|
||
if ($this->eCounter >= $this->firstElementNumber && $this->eCounter < $this->firstElementNumber+$this->iLimit) {
|
||
if ($this->eCounter >= $this->firstElementNumber && (!$this->iLimit || $this->eCounter < $this->firstElementNumber+$this->iLimit)) {
|
||
if ($this->firstElementNumber && $this->eCounter==$this->firstElementNumber) {
|
||
// reverse
|
||
$theData = Array();
|
typo3/class.db_list.inc (Arbeitskopie) | ||
---|---|---|
}
|
||
}
|
||
// Unset 'LIMIT' in case of request of CSV-Output
|
||
if ($this->csvOutput) {
|
||
$this->iLimit = 0; // no limit
|
||
}
|
||
// Set LIMIT:
|
||
$limit = $this->iLimit ? ($this->firstElementNumber ? $this->firstElementNumber.',' : '').($this->iLimit+1) : '';
|
||