[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 5669ab7e55d23303bfb7689e6c05c0fa5be1be9a
Evergreen Git
git at git.evergreen-ils.org
Wed Aug 15 14:17:47 EDT 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_2 has been updated
via 5669ab7e55d23303bfb7689e6c05c0fa5be1be9a (commit)
from 97d89ddf5022b415d91a2fe2e1e6c54f3a2f4d79 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5669ab7e55d23303bfb7689e6c05c0fa5be1be9a
Author: Thomas Berezansky <tsbere at mvlc.org>
Date: Tue Jul 31 15:35:21 2012 -0400
Check for filled hold on transit checkin
"Fill related hold" can grab a hold out from under a transit, so check for
filled holds in addition to canceled ones.
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
Signed-off-by: Bill Erickson <berick at esilibrary.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
index 5bdb1c3..781489d 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
@@ -2509,9 +2509,9 @@ sub do_checkin {
$self->hold($hold);
- if( $hold and $hold->cancel_time ) { # this transited hold was cancelled mid-transit
+ if( $hold and ( $hold->cancel_time or $hold->fulfillment_time ) ) { # this transited hold was cancelled or filled mid-transit
- $logger->info("circulator: we received a transit on a cancelled hold " . $hold->id);
+ $logger->info("circulator: we received a transit on a cancelled or filled hold " . $hold->id);
$self->reshelve_copy(1);
$self->cancelled_hold_transit(1);
$self->notify_hold(0); # don't notify for cancelled holds
-----------------------------------------------------------------------
Summary of changes:
.../lib/OpenILS/Application/Circ/Circulate.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list