[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. e4c76832c85f0212e456e2b5aeb76046e5d77bb4

Evergreen Git git at git.evergreen-ils.org
Tue Sep 20 09:55:48 EDT 2011


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_0 has been updated
       via  e4c76832c85f0212e456e2b5aeb76046e5d77bb4 (commit)
      from  e48918397425be84bed05d5143efe3459ea54272 (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 e4c76832c85f0212e456e2b5aeb76046e5d77bb4
Author: Bill Erickson <berick at esilibrary.com>
Date:   Thu Aug 25 14:20:56 2011 -0400

    Clear hold shelf [expire] time at checkout to alternate patron
    
    When an item on the holds shelf is checked out to an alternate patron
    (i.e. not the hold user), clear the shelf_time and shelf_expire_time
    along with capture_time, current_copy, etc. on the hold.
    
    tsbere++ for isolating the problem.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
index cedd469..19510f5 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
@@ -1629,6 +1629,8 @@ sub handle_checkout_holds {
         $hold->clear_prev_check_time; 
         $hold->clear_current_copy;
         $hold->clear_capture_time;
+        $hold->clear_shelf_time;
+        $hold->clear_shelf_expire_time;
 
         return $self->bail_on_event($e->event)
             unless $e->update_action_hold_request($hold);

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/OpenILS/Application/Circ/Circulate.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list