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

Evergreen Git git at git.evergreen-ils.org
Wed Mar 13 11:52:21 EDT 2013


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  3fd72b199329ea1a310e58beb6e86b66a8218b5f (commit)
      from  cc7ed07e0517fe51e7354e36aec27a9d01bb39e9 (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 3fd72b199329ea1a310e58beb6e86b66a8218b5f
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Thu Feb 28 15:32:07 2013 -0500

    Fix holding lib for certain distribution svrs
    
    On a serial virtual record (svr), the holding lib is expected to be
    just an ID.  In one logic branch, Search/Serial.pm was attaching the
    entire aou object, and we should instead attach just the ID of this
    object.
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm
index 27c9206..d8e010a 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm
@@ -170,7 +170,7 @@ sub bib_to_svr {
                 $svr->sre_id(-1);
             }
             $svr->location($_->holding_lib->name);
-            $svr->owning_lib($_->holding_lib);
+            $svr->owning_lib($_->holding_lib->id);
             $svr->basic_holdings([]);
             $svr->supplement_holdings([]);
             $svr->index_holdings([]);

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list