Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
Description
Test case:
Go to Users
Select a patron group filter
Then refresh the page.
After the refresh, the filter should be applied.
ui-users/Users.js updates filterConfig in componentWillUpdate but that means it can’t set state.filters so that the UI would reflect the URL. This causes URLs like http://localhost:3000/users?filters=pg.staff not to load correctly while http://localhost:3000/users?filters=active.Active (the active values are hard-coded) work fine.
Same for the Material Type filters in ui-items/Items.js