Bug #14980 » betterPatch.diff
class.tx_indexedsearch.php_new 2005-09-20 16:17:20.889651200 +0200 | ||
---|---|---|
$c++;
|
||
// All rows for display is put into resultRows[]
|
||
if ($c > $pointer * $this->piVars['results']) {
|
||
if ($c > $pointer * $this->piVars['results'] && $c < ($pointer+1)*$this->piVars['results']) {
|
||
$row['result_number'] = $c;
|
||
$resultRows[] = $row;
|
||
if ($c+1 > ($pointer+1)*$this->piVars['results']) break;
|
||
}
|
||
} else {
|
||
$count--; // For each time a phash_grouping document is found (which is thus not displayed) the search-result count is reduced, so that it matches the number of rows displayed.
|