jmix
jmix copied to clipboard
URL query parameters are applied multiple times
Environment
Jmix version: 2.3.999-SNAPSHOT
Bug Description
If the query parameters that were used for the queryParametersFacet
are defined using menu.xml
then:
Steps To Reproduce
- Download an attached project
- Log in as admin-admin
- Click on Users menu item multiple times
Current Behavior
Query parameters will be added every time.
Expected Behavior
Query parameters will be added once.
Sample Project
The reason
The reason is that when navigating to the same view, if the query parameters are changed, the view is not recreated. The same view instance is used and the logic for adding filters is applied to it again.