[TYPO3-core] RFC: #5714: Pagecount not correct in indexed_search

Jeff Segars jsegars at alumni.rice.edu
Tue Nov 11 17:36:16 CET 2008


Steffen Kamper wrote:
> Hi,
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=5714
> 
> Branches: trunk
> 
> Problem:
> 
> There was the problem with incorrect pagecount. It was like:
> 
> 1st page - results: 68 (7 pages)
> 2nd page - results: 59 (6 pages)
> 3rd page - results: 44 (5 pages)
> a.s.o
> 
> Then Michael Stucki made a patch and introduced new config var:
> search.exactCount = 1
> 
> Now correct result is shown, but wrong result list like
> 1st page: shows result 1 - 30
> 2nd page shows result 11-30
> 3rd page shows result 21-30
> 
> Attached patch (one-liner) solves this problem, i tested on client page, 
> also Ben tested on one of his pages.
> 
> vg Steffen

+1 based on reading and testing.

If I'm allowed to nitpick, can I request some extra parenthesis to 
separate the different calculations going on? :)


More information about the TYPO3-team-core mailing list