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

[Port dspace-7_x] Refactored community & collection pages #2832

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

alexandrevryghem
Copy link
Member

References

Description

Partial port of #2722 to dspace-7_x:

The browse by dateissued has an infinite load animation when there are 0 items to display

@alexandrevryghem alexandrevryghem self-assigned this Feb 23, 2024
@alexandrevryghem alexandrevryghem added this to the 7.6.2 milestone Feb 23, 2024
@alexandrevryghem alexandrevryghem added bug component: Discovery related to discovery search or browse system labels Feb 23, 2024
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.

@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:

  1. 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.org
    rest:
      ssl: true
      host: demo.dspace.org
      port: 443
      nameSpace: /server
    
  2. 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
  3. Browse by Title no longer works. Page never loads
  4. 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
  5. 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.

@tdonohue tdonohue linked an issue Mar 1, 2024 that may be closed by this pull request
…instead of undefined, which prevented its default values from being used

(cherry picked from commit e6bf2f0)
@alexandrevryghem
Copy link
Member Author

@tdonohue: This backport was indeed missing one fix, I cherry-picked it and everything seems to work correctly now

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 @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.

@tdonohue tdonohue merged commit 2dfa075 into DSpace:dspace-7_x Mar 29, 2024
13 checks passed
@alexandrevryghem alexandrevryghem deleted the patch_2808 branch May 13, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component: Discovery related to discovery search or browse system
Projects
Development

Successfully merging this pull request may close these issues.

Browse by Issued Date hangs
2 participants