Issue Bug Closed

#47129PI-BASED Indexed Search (v 4.7.7): search.exactCount = 1 doubles the shown results

unkonsorten no-lastname-given 04/11/13, 17:01 updated 01/24/18, 16:21

Description

Setting plugin.tx_indexedsearch.search.exactCount = 1 in TS doubles the amount of displayed results (defined by default or in plugin.tx_indexedsearch._DEFAULT_PI_VARS.results).

Result counting works as expected (e.g. “Displaying 1 – 10 of 27”), but 20 results are shown. Pagebrowser works correct (showing results 11 – 30 on second page).

Problem is probalbly caused in pi/class.tx_indexedsearch.php around line 581
@if (!$calculateExactCount && $nextResultPosition > $firstResultNumberOnNextPage)@

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.