Project

General

Profile

Bug #21074 » 11979_v2.diff

Administrator Admin, 2009-10-01 12:21

View differences:

t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php (working copy)
protected $mmForeignTable = '';
/**
* Counter to limit the recursions when querying the table; also needed to choose the range of records to select
*
* @var integer
*/
protected $recursionCounter = 0;
/**
* The select-clause to use when selecting the records (is manipulated and used by different functions, so it has to
* be a global var)
*
......
$rows = array();
$this->params = &$params;
$this->start = $this->recursionCounter * 50;
$start = $recursionCounter * 50;
$this->prepareSelectStatement();
$this->prepareOrderByStatement();
......
$this->selectClause,
'',
$this->orderByStatement,
$this->start . ', 50');
$start . ', 50');
$allRowsCount = $GLOBALS['TYPO3_DB']->sql_num_rows($res);
(2-2/2)