From 6bb4eb130de3fe5214a0805694819d135179340f Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sun, 2 Dec 2007 13:41:43 -0600 Subject: [PATCH] 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 Signed-off-by: Joshua Ferraro --- C4/Biblio.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 9169fd7553..83ddd6dc75 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -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'}, -- 2.39.5