Bug #15990
closedError in Result Processing lead to wrong result count and false paging.
0%
Description
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)
Files
Updated by Dmitry Dulepov over 14 years ago
Use search.exactCount=1 in TS setup to avoid this break statement.