[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 72d5939e9a3283bb27256ff84fba889f011df74b
Evergreen Git
git at git.evergreen-ils.org
Thu Aug 4 17:47:09 EDT 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, rel_2_1 has been updated
via 72d5939e9a3283bb27256ff84fba889f011df74b (commit)
from f805b8be242f9eb2a7bca5e079ef61338d955fad (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 72d5939e9a3283bb27256ff84fba889f011df74b
Author: Bill Erickson <berick at esilibrary.com>
Date: Thu Aug 4 16:46:54 2011 -0400
Repaired copy private/public note vandelay bug
Previously, all copy notes imported through vandelay were coming in as
public copy notes.
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm
index c24a9f3..81cabe7 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm
@@ -459,7 +459,7 @@ sub create_copy_note {
my $note = Fieldmapper::asset::copy_note->new;
$note->owning_copy($copy->id);
$note->creator($e->requestor->id);
- $note->pub('t');
+ $note->pub($pub ? 't' : 'f');
$note->value($value);
$note->title($title);
$e->create_asset_copy_note($note) or return $e->die_event;
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
index d177022..9c496c1 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
@@ -1080,7 +1080,7 @@ sub import_record_asset_list_impl {
}
$evt = OpenILS::Application::Cat::AssetCommon->create_copy_note(
- $e, $copy, '', $item->priv_note, 1) if $item->priv_note;
+ $e, $copy, '', $item->priv_note) if $item->priv_note;
if($evt) {
respond_with_status($conn, $total, $try_count, $in_count, $evt);
-----------------------------------------------------------------------
Summary of changes:
.../lib/OpenILS/Application/Cat/AssetCommon.pm | 2 +-
.../perlmods/lib/OpenILS/Application/Vandelay.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list