Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue where facets could not be changed when you are logged in #319

Merged

Conversation

LotteHofstede
Copy link
Contributor

@LotteHofstede LotteHofstede commented Oct 31, 2018

Overriding this.router.routeReuseStrategy.shouldReuseRoute breaks navigating to the same url but with different query parameters. This causes visible issues when you are logged in and try to add or remove facets on the search page.

I replaced this by using this.router.onSameUrlNavigation = 'reload' instead, as suggested here:
angular/angular#13831 (comment)

Copy link
Member

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I was able to reproduce the bug locally while logged in & performing searches. This PR fixes the issue, and looks good to me. Thanks @LotteHofstede

@tdonohue tdonohue merged commit 2033119 into DSpace:master Oct 31, 2018
@ghost ghost removed the needs review label Oct 31, 2018
@benbosman benbosman deleted the w2p-56119_fixed-facet-issue-when-logged-on branch September 11, 2020 07:57
@tdonohue tdonohue added this to the 7.0preview milestone Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants