-
Notifications
You must be signed in to change notification settings - Fork 0
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
HOTFIX: Resolve delivery location fetch issue for off-site items with legacy barcode identifiers #460
Conversation
Deploy Hold Pages and Special Collections availability messaging to Production
optional chaining on supp content
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks ok to me but should have another person who knows this better approve it. Were there any tests in DFE for these functions?
Yeah, here's a link to the test: https://github.com/NYPL/discovery-front-end/blob/d9a636027c28548f7bd222bf213f05e9a84d618e/test/unit/LibraryItem.test.js#L41 |
This PR addresses an issue that was identified after the launch of the Hold pages, where certain off-site partner records were showing an error on the hold request page.
The issue occurred because the delivery location fetch was failing. This was due to missing functionality in DFE, where barcodes are extracted from the identifier field for bibs with legacy formatting.
This PR adds the necessary functionality to resolve the issue. I've also opened a follow-up ticket to refactor the solution and add unit tests.