forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
Description
Describe the bug
Browsing after some Item with authority does not return to the previous state.
To Reproduce
Steps to reproduce the behavior:
- Configure some Browse Option which considers authority values.
- e.g. visit Demo: https://dspacecris7.4science.cloud/browse/author
- Select some browse entry with value and authority , e.g. https://dspacecris7.4science.cloud/browse/author?value=Bollini,%20Andrea&authority=092b59e8-8159-4e70-98b5-93ec60bd3431
- Press the Back buttons. the URL changes:
- Not the previous results are shown, but some corrupt list of all entities. The URL is now: https://dspacecris7.4science.cloud/browse/author?authority=092b59e8-8159-4e70-98b5-93ec60bd3431&bbm.page=1
Expected behavior
We expect the route to be updated and the parameter authority to be removed.
The corresponding line is this:
this.paginationService.updateRoute(this.paginationConfig.id, {page: page}, {[this.paginationConfig.id + '.return']: null, value: null, startsWith: null}); |
Related work
Link to any related tickets or PRs here.