Previously, all copy notes imported through vandelay were coming in as
public copy notes.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
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;
}
$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) {
$$report_args{evt} = $evt;