bug 1615: AddItem() now sets issues, renewals, and reserves

When an item was created,  the renewals, issues, and reserves columns
were not set from the MARC data.  This was noticed particularly
in the context of batch loads, where a user might supply
data for those fields.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Galen Charlton 2007-12-02 13:41:43 -06:00 committed by Joshua Ferraro
parent 45d570e378
commit 6bb4eb130d

View file

@ -3837,6 +3837,9 @@ sub _koha_new_items {
paidfor = ?,
location = ?,
onloan = ?,
issues = ?,
renewals = ?,
reserves = ?,
cn_source = ?,
cn_sort = ?,
ccode = ?,
@ -3867,6 +3870,9 @@ sub _koha_new_items {
$item->{'paidfor'},
$item->{'location'},
$item->{'onloan'},
$item->{'issues'},
$item->{'renewals'},
$item->{'reserves'},
$item->{'items.cn_source'},
$items_cn_sort,
$item->{'ccode'},