Pagination is not correct on order details page
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- All products are coming and on page 2, the product count is not correct.
- Steps to reproduce:
1. Add 7-8 products to the cart.
2. Place the order and go to the order details page and configure the pagination to 4 items per page [It will show 4 products on the 1st page and 3 products on the 2nd page].
3. Search a product with the name in the search box, it will display only one product in the search result. Check the pagination now, it will display 1 to 4 of 7. Also, it will display page 2.
Expected Behavior: Order Item count updates correctly and there’s no second page.
Observed Behavior: The count doesn’t get updated, and the second page is displayed with the same item
Environment
- Liferay DXP 7.4 update 70
- Commerce 4.0
Resolution
- The observed behavior is a known bug and has been addressed by COMMERCE-11913
Did this article resolve your issue ?