Project

General

Profile

Feature #17346 ยป class.db_list_extra.inc.diff

Administrator Admin, 2007-08-30 17:21

View differences:

typo3/class.db_list_extra.inc (copie de travail)
// Init:
$dbCount = 0;
$out = '';
$LOISmode = $this->listOnlyInSingleTableMode && !$this->table;
// If the count query returned any number of records, we perform the real query, selecting records.
if ($this->totalItems) {
// set the showLimit to the number of records when outputting as CSV
if ($this->csvOutput) {
$this->showLimit = $this->totalItems;
$this->iLimit = $this->totalItems;
if ($LOISmode) {
$dbCount = $this->totalItems;
} else {
// set the showLimit to the number of records when outputting as CSV
if ($this->csvOutput) {
$this->showLimit = $this->totalItems;
$this->iLimit = $this->totalItems;
}
$result = $GLOBALS['TYPO3_DB']->exec_SELECT_queryArray($queryParts);
$dbCount = $GLOBALS['TYPO3_DB']->sql_num_rows($result);
}
$result = $GLOBALS['TYPO3_DB']->exec_SELECT_queryArray($queryParts);
$dbCount = $GLOBALS['TYPO3_DB']->sql_num_rows($result);
}
$LOISmode = $this->listOnlyInSingleTableMode && !$this->table;
// If any records was selected, render the list:
if ($dbCount) {
    (1-1/1)