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

i1066 Fix member pagination on OER show pages #1069

Merged

Conversation

bkiahstroud
Copy link
Contributor

@bkiahstroud bkiahstroud commented Jan 11, 2025

Ref:

Story

Pagination was attempting to act upon a local variable that didn't exist; it was removed in this commit:

Replace it with the presenter method that Hyrax typically uses to display member presenters

Expected Behavior Before Changes

Viewing the show page of an OER work that has 11+ members (e.g. FileSets) throws a 500 error

Expected Behavior After Changes

OER members display in a paginated list

Screenshots / Video

Paginated members image

Notes

This change needs to be contributed back to Hyku:

Pagination was attempting to act upon a local variable that didn't
exist; it was removed in this commit:
- fbe9093

Replace it with the presenter method that Hyrax typically uses to
display member presenters
@bkiahstroud bkiahstroud merged commit 6356f28 into main Jan 13, 2025
1 check passed
@bkiahstroud bkiahstroud deleted the i1066-oers-with-many-members-throw-error-on-show-page branch January 13, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants