Issue
-
Using a browser's back button causes Commerce's Placed Orders Widget to lose both page placement and items per page configuration.
Example Setup
1. Complete 5 Commerce Orders
2. Go to the Placed Orders screen > set the Items per Page to 4 (lowest value possible)
3. Navigate to Page 2
4. Click the 'View' button to see the Order Details of the last order
5. Press your browser's 'back button'
Result
Page pagination is reset to 10 items so all 5 orders are listed on Page 1
Environment
- DXP 7.3
Resolution
- This is a known limitation of the product at this time.
The current implementation hard-codes values for itemsPerPage and pageNumber, meaning the initial display values are always '10 items per page' so in the above case, all 5 orders are displayed when the page refreshes or a back button is pressed.
- This existing ticket Allow Users to Customize and Manage Views in the Dataset Display was raised to investigate how an improved user experience can be achieved. The ticket may be voted on to gain further promotion.