Actions
Bug #15990
closedError in Result Processing lead to wrong result count and false paging.
Start date:
2006-04-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions