[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. bd1e1adb4c60f518dac9f248d9eb477d68cced8b

Evergreen Git git at git.evergreen-ils.org
Mon Feb 20 14:25:30 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, rel_2_1 has been updated
       via  bd1e1adb4c60f518dac9f248d9eb477d68cced8b (commit)
      from  29eefd73c3a6926a23328d7fbc53ec4a55bf2d20 (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 bd1e1adb4c60f518dac9f248d9eb477d68cced8b
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 58160db..5332eab 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
@@ -838,7 +838,7 @@ sub update_hold_impl {
             $transit->dest($hold->pickup_lib);
             $e->update_action_hold_transit_copy($transit) or return $e->die_event;
 
-        } elsif($status == 4) { # on holds shelf
+        } elsif($status == 4 or $status == 5) { # 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