[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. dfb7054c3a943e98f2c95d4e598e48c6e20f402e

Evergreen Git git at git.evergreen-ils.org
Wed May 9 16:20:13 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  dfb7054c3a943e98f2c95d4e598e48c6e20f402e (commit)
      from  c1cc6340e8f28a1180021650b52946f5b3d63057 (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 dfb7054c3a943e98f2c95d4e598e48c6e20f402e
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