SYS-2055: filter Alma matches by inventory number and library #89
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements SYS-2055
Uses the new function
filter_by_inventory_number_and_library()from theftva_etlpackage to filter Alma results. Alma search results pages and JSON metadata generation will now only use bib records from the FTVA library and with a call number matching the Digital Data inventory number (per FTVA requirements implemented inftva_etl).No new automated tests. For manual testing, item 20555 previously had two Alma matches, but now should show just the one associated with the FTVA library (MMS ID 991334333506533). Item 25125 demonstrates a prefix/suffix match - MMS ID 991932163506533 has a call number of
VA15789 T, matching the inventory numberVA15789.Also includes release notes and tag bump for deployment.