ACQ avoid dupe lineitem asset processing / patron reqs user/berick/acq-avoid-dupe-li-asset-create user/berick/lp1269865-acq-avoid-dupe-hold-reqs
authorBill Erickson <berick@esilibrary.com>
Thu, 16 Jan 2014 15:30:56 +0000 (10:30 -0500)
committerBill Erickson <berick@esilibrary.com>
Thu, 16 Jan 2014 15:30:56 +0000 (10:30 -0500)
commit2d22996853e836c6b614a1c43790fa92e1454c01
tree26843ef479fd938680f50748e4bfc8bd0235315a
parentf7a049def031246256ddb4ae6d572199f193b36e
ACQ avoid dupe lineitem asset processing / patron reqs

Repair a thinko in create_lineitem_list_assets which resulted in each
lineitem havings its asset creation routine run twice.  In addition to
making the code more efficient, this will avoid the unintended creation
of duplicate holds from ACQ user requests.

Note that copies and call numbers were not duplicated, because the code
was already preventing that.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm