We have also run into this problem in 220.127.116.11 with the catalog search and the advanced search pagination.
The results of a particular term produced 212 results. The catalog search result page proceeds to display all 212 results. Pagination is set to 24 items per page and the drop-down does display a selection of different numbers of results per page although these are ignored in the results.
The toolbar shows âItems1 to 212 of 212â on page 1. The toolbar does show multiple pages (1 2 3 4 5). If a person is to click on page 2, the resulting page still shows all 212 items again, but the toolbar now shows âItems 25 to 236 of 212â. Page 3 will result in âItems 49 to 260 of 212â showing all 212 results on the page and so on.
No matter what page you select, you will load and display all 212 results and the toolbar continues to increase incorrectly in the Items count.
I have checked and we are using all original 18.104.22.168 files in /app/code/core/Mage/CatalogSearch
The same toolbar.phtml is called in the catalog.xml and catalogsearch.xml
<block type=\"catalog/product_list_toolbar\" name=\"product_list_toolbar\" template=\"catalog/product/list/toolbar.phtml\">
<block type=\"page/html_pager\" name=\"product_list_toolbar_pager\"/>
Interestingly, we have no problem with the toolbar/pager in the category product views. Therefore, I surmise the problem to be somewhere in the Catalogsearch functions.
We have tried to delete our custom toolbar.phtml file and use base/default. This has changed nothing.
We have not altered any Catalog or Page/Html core files either that would affect this.
I also have tried swapping the Catalogsearch folder; /app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php; and, /app/code/core/Mage/Page/Block/Html/Pager.php, using versions 22.214.171.124, 126.96.36.199, 188.8.131.52, and 184.108.40.206, and this did not solve the problem.
Does anyone have an idea how to fix this?
This is our last issue to resolve.