[open-ils-commits] [GIT] Evergreen ILS branch master updated. 881b4669725e84df992f0ad5ffff82a61ab401e7

Evergreen Git git at git.evergreen-ils.org
Mon Feb 20 14:24:51 EST 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, master has been updated
       via  881b4669725e84df992f0ad5ffff82a61ab401e7 (commit)
      from  23ebae3bbcf09e4472e5bce1d15782c78484ace5 (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 881b4669725e84df992f0ad5ffff82a61ab401e7
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed Feb 15 17:07:24 2012 -0500

    Update pickup lib from holds shelf status test repair
    
    When determining whether a hold is getting updated while already on the
    holds shelf, it's important to also treat hold status 5 as an on-shelf
    status.  Status 5 comes into play when the circ.hold_shelf_status_delay
    org unit setting is activated and acts as a virtual status indicating
    the item is physically en route to the shelf.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
index 6808522..9271c5d 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
@@ -966,7 +966,7 @@ sub update_hold_impl {
             $transit->dest($hold->pickup_lib);
             $e->update_action_hold_transit_copy($transit) or return $e->die_event;
 
-        } elsif($hold_status == 4 or $hold_status == 8) { # on holds shelf
+        } elsif($hold_status == 4 or $hold_status == 5 or $hold_status == 8) { # on holds shelf
 
             return $e->die_event unless $e->allowed('UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF', $orig_hold->pickup_lib);
             return $e->die_event unless $e->allowed('UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF', $hold->pickup_lib);

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list