NYPL / discovery-api

Discovery API: the JSON-LD API supporting NYPL Shared Collection Catalog
MIT License
6 stars 0 forks source link

NOREF fix edd status check #371

Closed nonword closed 7 months ago

nonword commented 7 months ago

Fixes an issue where we are currently enabling Request Scan buttons on on-site materials that have item status 'Use in library' (o). Currently, Sierra rejects all holds on all items with that status.

With this update, an on-site item will only be eddRequestable if it meets all previous on-site EDD criteria plus having an Available or Not Available status. This will enable RC to show the "Request Scan" button only for on-site materials that meet the status requirement (rejecting any item with status 'o' or other lesser-used unavailable statuses). When the item's status is Available, RC will activate the button.