[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 49697ca06f84d20b676792e92f1ce480942a6462
Evergreen Git
git at git.evergreen-ils.org
Wed Mar 13 11:53:00 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, rel_2_2 has been updated
via 49697ca06f84d20b676792e92f1ce480942a6462 (commit)
from 9ed5e2121ba26eab67f2e2961b5f510986146320 (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 49697ca06f84d20b676792e92f1ce480942a6462
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