Skip to content

Reverted #424#425

Merged
tdonohue merged 1 commit intoDSpace:masterfrom
atmire:cleanup-search-service
Jun 21, 2019
Merged

Reverted #424#425
tdonohue merged 1 commit intoDSpace:masterfrom
atmire:cleanup-search-service

Conversation

@LotteHofstede
Copy link
Contributor

I reverted the changes from #424.
This issue was fixed earlier in this commit 49dc4b8#diff-c793158e8f9f65b6e8317b40dcb28bc9

I believe that the SearchService:getSearchLink() method should not return a different path for each page that could possibly contain a search page, like for example the MyDSpace page.
If we were to do this anyway, we would also need this method to return the search links for the journal and person pages, because these also contain search pages; similar to the MyDSpace page.

This is why I refactored this in #398 to make sure the InPlaceSearch boolean was added to the necessary components, that - when true - will make sure to use the current page as a search page instead of the /search page.

Copy link
Contributor

@atarix83 atarix83 left a comment

Choose a reason for hiding this comment

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

ok LGTM, I was fooled by the fact that on the demo does not work, so I thought about changing that method again, I didn't see it was fixed here

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.

👍 Thanks for the correction here @LotteHofstede . Looks good to me too

@tdonohue tdonohue merged commit c244575 into DSpace:master Jun 21, 2019
@benbosman benbosman deleted the cleanup-search-service branch September 11, 2020 07:50
@tdonohue tdonohue added this to the 7.0beta1 milestone Jan 26, 2021
4science-it pushed a commit to 4Science/dspace-angular that referenced this pull request May 11, 2023
DSC-854

Approved-by: Davide Negretti
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.

3 participants