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

TO MAIN 🐛 Fix Add to Collection for page 2+ of works #2024

Closed
wants to merge 1 commit into from

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Oct 13, 2023

Prior to this commit, when you were on page 2 of your works and selected
a work to add to a collection, the query for available collections would
use the page 2 as part of the collection query. This would mean the
first 100 collections (default page size) that you had access to add
works to were skipped.

With this commit, we omit the query parameters from the works page and
then query collections.

Related to:

Co-authored-by: LaRita Robinson larita@scientist.com

@jeremyf jeremyf added the patch-ver for release notes label Oct 13, 2023
@jeremyf jeremyf changed the title 🐛 Fix Add to Collection for page 2+ of works TO MAIN 🐛 Fix Add to Collection for page 2+ of works Oct 13, 2023
Prior to this commit, when you were on page 2 of your works and selected
a work to add to a collection, the query for available collections would
use the page 2 as part of the collection query.  This would mean the
first 100 collections (default page size) that you had access to add
works to were skipped.

With this commit, we omit the query parameters from the works page and
then query collections.

Related to:

- samvera/hyrax#5972
- samvera/hyrax#5969
- https://github.com/scientist-softserv/adventist-dl/issues/625

Co-authored-by: LaRita Robinson <larita@scientist.com>
@jeremyf jeremyf force-pushed the hyku-main-add-to-collection-on-page branch from 148e7dc to 5dd478f Compare October 16, 2023 13:40
@jeremyf jeremyf closed this Jan 10, 2024
@jeremyf jeremyf deleted the hyku-main-add-to-collection-on-page branch January 10, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants