Bug #15990

Error in Result Processing lead to wrong result count and false paging.

Added by Simon Loesing over 14 years ago. Updated about 2 years ago.

Should have
Indexed Search
Target version:
Start date:
Due date:
% Done:


TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


The Functions getResultRows() gets the search result rows / data from database and returns it as data in an array.

The database query works fine, whereas the following data processing is not correct.

While looping over all results, we have a counter which breaks the loop when ($pointer+1)*$this->piVars['results'] is reached.

If this happens not every page is checked for validity which can lead to a wrong result count and thus an uncorrect number of pages.

Solution: comment out the break statement on line 597 in the class.tx_indexedsearch.php. (see Attached file)

N.B. The solution is perhaps a Performance issue, but actually I haven't a better solution.

(issue imported from #M3145)

class.tx_indexedsearch.php View (91.1 KB) Administrator Admin, 2006-04-05 20:46


#1 Updated by Dmitry Dulepov over 10 years ago

Use search.exactCount=1 in TS setup to avoid this break statement.

#2 Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF