Legacy Knowledge Base
Published Jun. 30, 2025

Pagination is not correct on order details page

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability 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

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base