Fix hierarchical & advanced search redirecting to global /search#5210
Merged
tdonohue merged 2 commits intoMay 15, 2026
Merged
Conversation
tdonohue
approved these changes
May 15, 2026
Member
tdonohue
left a comment
There was a problem hiding this comment.
👍 Thanks @alexandrevryghem ! Verified this fixes the issue in advanced search. Flagged for backport to 9.x and 8.x (as advanced search was added in 8.x).
Contributor
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-8_x
git worktree add -d .worktree/backport-5210-to-dspace-8_x origin/dspace-8_x
cd .worktree/backport-5210-to-dspace-8_x
git switch --create backport-5210-to-dspace-8_x
git cherry-pick -x ed1e94fb6dd5e022fcaf75d49d90d59aebcffcee |
Contributor
|
Successfully created backport PR for |
Member
|
@alexandrevryghem : This was only able to be auto-backported to 9.x. However, since we only guarantee backports to 9.x, this is good enough. That said, if you or anyone else want to backport this to 8.x, we'd need a separate PR against the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


References
Description
Fixed bug where the hierarchical search & advanced search on community/collection pages redirected the user to the global
/searchroute.Instructions for Reviewers
List of changes in this PR:
AdvancedSearchComponent&SearchHierarchyFilterComponentto use thecurrentPathwheninPlaceSearchistrue(similar to the other search components)Guidance for how to test/review this PR:
config.ymlfile/search/searchChecklist
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintnpm run check-circ-deps)package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.