git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@10234
dcc99617-32d9-48b4-a31d-
7c20da2025e4
{ desc => q/
Options hash. Options are:
idlist : if set, only return lineitem IDs
+ clear_marc : if set, strip the MARC xml from the lineitem before delivery
/,
type => 'object',
}
if($$options{idlist}) {
$conn->respond($li_id);
} else {
- $conn->respond($e->retrieve_acq_lineitem($li_id));
+ my $li = $e->retrieve_acq_lineitem($li_id);
+ $li->clear_marc if $$options{clear_marc};
+ $conn->respond($li);
}
}
return undef;