From ce41d8d27afbb47f73c67bf8b2409dc00e396826 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Wed, 9 Apr 2008 07:16:37 -0500 Subject: [PATCH] add items.enumchron to _koha_new_item. Signed-off-by: Joshua Ferraro --- C4/Items.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 05caf8856e..ba1d170381 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -1674,7 +1674,8 @@ sub _koha_new_item { itype = ?, materials = ?, uri = ?, - more_subfields_xml = ? + enumchron = ?, + more_subfields_xml = ? "; my $sth = $dbh->prepare($query); $sth->execute( @@ -1708,7 +1709,8 @@ sub _koha_new_item { $item->{'itype'}, $item->{'materials'}, $item->{'uri'}, - $item->{'more_subfields_xml'}, + $item->{'enumchron'}, + $item->{'more_subfields_xml'}, ); my $itemnumber = $dbh->{'mysql_insertid'}; if ( defined $sth->errstr ) { -- 2.39.5