Issue
- I have an issue with the search results portlet pagination. When searching for an item by selecting a page after page 20, the first page results are shown instead of the selected page.
Steps to reproduce:
- Set up 2024.q2.13, set this property into the portal-ext.properties: search.container.page.delta.values=4,20,40,60 to see a long dropdown list, and start the instance
- Add 90+ documents to the site.
- Go to the default search page
- In the default search options, check “Allow Empty Searches”
- Set the delta to 4 entries
- Search with an empty text or a general keyword
- View the pagination in the search results, open the dropdown, and scroll further down in the list
- Click on one of those links that were rendered when scrolling further down.
Expected result:
Href of the page link should be something like /search?q=test&delta=4&start=28 as it is in the beginning of the list.
Actual result:
Href of the page link is something like q=test&delta=4&_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_INSTANCE_vG7TCea4Umyb_start=28 where the parameter is added to a namespace.
Environment
- Liferay Quarterly Release 2024.q2.13
Resolution
- The case has been addressed and fixed by LPD-56005. Kindly upgrade to 2025.q1.14-lts+ or request a hotfix.