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

change how BibItemSet iterates over Alma api (take 2) #60

Merged
merged 2 commits into from
Aug 20, 2020

Conversation

quoideneuf
Copy link
Contributor

I noticed that the BibItemSet::all method was calling one page more than needed. When there are lots of calls to 'all' this results in redundant requests to alma.

Also a small fix to prevent errors in the logging function if for some reason a response has a record count and a non 200 code.

Copy link

@tulibraries-devops tulibraries-devops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@dkinzer dkinzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 😎

@dkinzer dkinzer merged commit 72c28fe into main Aug 20, 2020
@sensei100 sensei100 deleted the refactor-bib-item-set-all branch August 28, 2020 19:01
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.

None yet

3 participants