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

🐛 Fix Add to Collection for page 2+ of works #92

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Oct 13, 2023

🧹 Bump version of Hyku branch

5b8107a

This includes:

🐛 Fix Add to Collection for page 2+ of works

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 force-pushed the add-to-collection-for-second-page-work branch from 9fd71f3 to b62b3e2 Compare October 13, 2023 16:30
This includes:

- samvera/hyku#2023

> 🐛 Fix Add to Collection for page 2+ of works
>
> 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 add-to-collection-for-second-page-work branch from b62b3e2 to 5b8107a Compare October 13, 2023 16:46
@jeremyf jeremyf merged commit 54af3cb into main Oct 16, 2023
7 checks passed
@jeremyf jeremyf deleted the add-to-collection-for-second-page-work branch October 16, 2023 13:41
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.

2 participants