SW-26876: History back paging fix
1. Why is this change necessary?
The wrong behaviour with product paging and browser history back button. Data in the listing doesn't change when you use the history back button in the browser and the browser history is duplicated after a few times click
2. What does this change do, exactly?
Additional window event to reload the listing products data when you go back/forward using the browser history button Prevent browser history duplication
3. Describe each step to reproduce the issue or behaviour.
Disable infinite scrolling (theme manager) Enable automatic reload for the filter (performance module) Go to the second or next page and then try to go back with the browser history back button
4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/SW-26876
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist
- [x] I have written tests and verified that they fail without my change
- [x] I have squashed any insignificant commits
- [x] This change has comments for package types, values, functions, and non-obvious lines of code
- [x] I have read the contribution requirements and fulfil them.
Hello,
thank you for creating this pull request. I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-26890
Please use this issue to track the state of your pull request.
Hey @Ivan-Rud
This PR was closed due to inactivity. If you find a proper solution, feel free to create a new pull request.
For more information about our contribution guidelines, see https://developers.shopware.com/contributing/contribution-guideline/.