]> git.evergreen-ils.org Git - working/NCIPServer.git/commit - lib/NCIP/ILS/Evergreen.pm
Handle shelf-expired holds in NCIP::ILS::Evergreen->checkinitem.
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 14 Jan 2016 16:40:59 +0000 (11:40 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Fri, 15 Jan 2016 18:17:27 +0000 (13:17 -0500)
commit34673b1151848a746c7be3bcfab399b9c2a84a01
tree40059a5ed3d8dcb1aceb19cd232c7eed8a2c721e
parent9abaa7a4c7575c44ef72824491739f205433d93b
Handle shelf-expired holds in NCIP::ILS::Evergreen->checkinitem.

We modify the check_circ_details method to look for shelf-expired
holds in addition to circulations and transits.  It is also modified
to better handle being used from the renewitem handler.

We add the clear_expired flag when actually doing the checkin.

Finally, a new helper _date_past is added to check if a date is in the
past, and the _expired helper is modified to use the _date_past
subroutine.

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