From 14301333cc02d1f1c6ee5f17e57a67ff0560c630 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Wed, 12 Sep 2007 15:59:54 +0200 Subject: [PATCH] BUGFIX : adding management of the 5 new biblioitems columns for biblio adding Signed-off-by: Chris Cormack --- C4/Biblio.pm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index d0cdcb6928..815cae5b35 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -3352,7 +3352,7 @@ sub _koha_modify_biblioitem { $biblioitem->{'biblionumber'} = $dbh->quote( $biblioitem->{'biblionumber'} ); - $query = "Update biblioitems set + $query = "UPDATE biblioitems SET itemtype = $biblioitem->{'itemtype'}, url = $biblioitem->{'url'}, isbn = $biblioitem->{'isbn'}, @@ -3420,8 +3420,11 @@ sub _koha_add_biblioitem { volumeddesc = ?, illus = ?, pages = ?, notes = ?, size = ?, lccn = ?, - marc = ?, lcsort =?, - place = ?, ccode = ? + marc = ?, lcsort = ?, + place = ?, ccode = ?, + collectiontitle = ?, collectionissn = ?, + collectionvolume = ?, editionstatement= ?, + editionresponsability= ? " ); my ($lcsort) = @@ -3439,7 +3442,10 @@ sub _koha_add_biblioitem { $biblioitem->{'pages'}, $biblioitem->{'bnotes'}, $biblioitem->{'size'}, $biblioitem->{'lccn'}, $biblioitem->{'marc'}, $biblioitem->{'place'}, - $lcsort, $biblioitem->{'ccode'} + $lcsort, $biblioitem->{'ccode'}, + $biblioitem->{'collectiontitle'},$biblioitem->{'collectionissn'}, + $biblioitem->{'collectionvolume'},$biblioitem->{'editionstatement'}, + $biblioitem->{'editionresponsability'} ); $sth->finish; return ($bibitemnum); -- 2.39.5