-
Notifications
You must be signed in to change notification settings - Fork 439
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
[Port dspace-7_x] Refactored community & collection pages #2832
Conversation
…n empty (cherry picked from commit 6f51bd8)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexandrevryghem : Thanks for creating this port. The good news is this fixes the #2808 bug with Browse by Date. The bad news, though, it seems to break some of the other Browse By pages. Here's what I tried:
- I ran this PR in production mode (
yarn build:prod; yarn serve:ssr
) against the demo.dspace.org backend, comparing it to the results at https://demo.dspace.orgrest: ssl: true host: demo.dspace.org port: 443 nameSpace: /server
- Browse by Date works perfectly now, even if I delete the
dc.date.issued
field in the first result, or if I update it so that it has an empty value - Browse by Title no longer works. Page never loads
- Browse by Author will load the author list. But, if you click on an Author name the next page no longer works. Page never loads
- Browse by Subject shows the same behavior as Browse by Author. List of subjects will load, but if you click on a Subject you cannot see the results for that subject.
I'm not sure what the exact cause is...but this PR seems to have unexpected side effects.
…instead of undefined, which prevented its default values from being used (cherry picked from commit e6bf2f0)
@tdonohue: This backport was indeed missing one fix, I cherry-picked it and everything seems to work correctly now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks @alexandrevryghem ! I've verified this now fixes the bug on the dspace-7_x
branch and has no adverse side effects to other browse by options.
References
Description
Partial port of #2722 to
dspace-7_x
: