]> git.evergreen-ils.org Git - NCIPServer.git/commit
Check for eligible copies in NCIP::ILS::Evergreen->requestitem.
authorJason Stephenson <jstephenson@mvlc.org>
Tue, 24 Nov 2015 16:54:48 +0000 (11:54 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Fri, 4 Dec 2015 14:49:05 +0000 (09:49 -0500)
commit8abcf7cd2af8e89ab32207f66e8021df6a729973
treedfefa9b2437fe8c8f085c62d3a1c4b3e77971818
parent93eba51b1936d2dbf0bf6ab35f8fad178b97c984
Check for eligible copies in NCIP::ILS::Evergreen->requestitem.

Add a method to count the number of copies available at the selection
ou to fill the hold.  Call this method from requestitem, and if it
returns 0, send a problem response that the requested item will not
be available by need by date.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
lib/NCIP/ILS/Evergreen.pm