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

Evergreen Git git at git.evergreen-ils.org
Wed May 9 16:19:55 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, master has been updated
       via  dbee9ecee0a9833e8fa2df384ab456da9622d0c1 (commit)
      from  3eeb80320ce04ba4e910cce828e28dfc8cd2fa94 (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 dbee9ecee0a9833e8fa2df384ab456da9622d0c1
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Wed May 9 08:42:58 2012 -0400

    Retarget Local Holds: Use part ID properly
    
    Because the mapping ID is meaningless unless you only create one part at a
    time, assign them only once in the order you created them, etc.
    
    Which I think pretty much describes most of my original test cycle.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous 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 731131d..5bdb1c3 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
@@ -2365,7 +2365,7 @@ sub checkin_retarget {
     # Check for parts on this copy
     my $parts = $self->editor->search_asset_copy_part_map({ target_copy => $self->copy->id });
     my %parts_hash = ();
-    %parts_hash = map {$_->id, 1} @$parts if @$parts;
+    %parts_hash = map {$_->part, 1} @$parts if @$parts;
 
     # Loop over holds in request-ish order
     # Stage 1: Get them into request-ish order

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list