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

Evergreen Git git at git.evergreen-ils.org
Thu Dec 22 16:26:14 EST 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, master has been updated
       via  91c31e5eb7e1afcca2f020770c89bc3776696b11 (commit)
      from  be003fdfc99174e951e117d30d968919be073fe8 (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 91c31e5eb7e1afcca2f020770c89bc3776696b11
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Wed Dec 21 16:51:48 2011 -0500

    SIP2: Fix transit home on checkin
    
    The Checkin doesn't need a destination_loc, but the item needs it set.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Sarah E. Chodrow <sarah.chodrow at bibliotheca-itg.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm
index cee4fc5..ecafcc3 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm
@@ -22,7 +22,6 @@ my %fields = (
     # 3M extensions: (most of the data is stored under Item)
 #   collection_code  => undef,
 #   call_number      => undef,
-    destination_loc  => undef,
     alert_type       => undef,  # 00,01,02,03,04 or 99
 #   hold_patron_id   => undef,
 #   hold_patron_name => "",
@@ -139,7 +138,7 @@ sub do_checkin {
 
     $resp->{org} &&= OpenILS::SIP::shortname_from_id($resp->{org}); # Convert id to shortname
 
-    $self->destination_loc($resp->{org}) if $resp->{org};
+    $self->item->destination_loc($resp->{org}) if $resp->{org};
 
     if ($txt eq 'ROUTE_ITEM') {
         # Note, this alert_type will be overridden below if this is a hold transit

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

Summary of changes:
 .../lib/OpenILS/SIP/Transaction/Checkin.pm         |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list