[Koha-patches] [PATCH] add items.enumchron to _koha_new_item.

Ryan Higgins rch at liblime.com
Wed Apr 9 14:16:37 CEST 2008


---
 C4/Items.pm |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/C4/Items.pm b/C4/Items.pm
index 05caf88..ba1d170 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 ) {
-- 
1.5.2.1




More information about the Koha-patches mailing list