koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/C4 Biblio.pm,1.115.2.20,1.115.2.21


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/C4 Biblio.pm,1.115.2.20,1.115.2.21
Date: Fri, 09 Sep 2005 09:11:57 -0700

Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28005/C4

Modified Files:
      Tag: rel_2_2
        Biblio.pm 
Log Message:
adding missing fields in biblioitems update

Index: Biblio.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Biblio.pm,v
retrieving revision 1.115.2.20
retrieving revision 1.115.2.21
diff -C2 -r1.115.2.20 -r1.115.2.21
*** Biblio.pm   1 Sep 2005 13:43:33 -0000       1.115.2.20
--- Biblio.pm   9 Sep 2005 16:11:51 -0000       1.115.2.21
***************
*** 1170,1174 ****
        )
        = @_;
!     $sentence =~ s/(\.|\?|\:|\!|\'|,|\-|\"|\(|\)|\[|\]|\{|\}|\/)/ /g;
      my @words = split / /, $sentence;
      my $stopwords = C4::Context->stopwords;
--- 1170,1174 ----
        )
        = @_;
!     $sentence =~ s/(\.|\?|\:|\!|;|\'|,|\-|\"|\(|\)|\[|\]|\{|\}|\/)/ /g;
      my @words = split / /, $sentence;
      my $stopwords = C4::Context->stopwords;
***************
*** 1669,1675 ****
--- 1669,1679 ----
      $biblioitem->{'pages'}       = $dbh->quote( $biblioitem->{'pages'} );
      $biblioitem->{'volumeddesc'} = $dbh->quote( $biblioitem->{'volumeddesc'} 
);
+     $biblioitem->{'volumeddate'} = $dbh->quote( $biblioitem->{'volumeddate'} 
);
      $biblioitem->{'bnotes'}      = $dbh->quote( $biblioitem->{'bnotes'} );
      $biblioitem->{'size'}        = $dbh->quote( $biblioitem->{'size'} );
      $biblioitem->{'place'}       = $dbh->quote( $biblioitem->{'place'} );
+     $biblioitem->{'volume'}       = $dbh->quote( $biblioitem->{'volume'} );
+     $biblioitem->{'number'}       = $dbh->quote( $biblioitem->{'number'} );
+     $biblioitem->{'lccn'}       = $dbh->quote( $biblioitem->{'lccn'} );
  
      $query = "Update biblioitems set
***************
*** 1686,1692 ****
  pages           = $biblioitem->{'pages'},
  volumeddesc     = $biblioitem->{'volumeddesc'},
  notes                 = $biblioitem->{'bnotes'},
  size          = $biblioitem->{'size'},
! place         = $biblioitem->{'place'}
  where biblioitemnumber = $biblioitem->{'biblioitemnumber'}";
  
--- 1690,1701 ----
  pages           = $biblioitem->{'pages'},
  volumeddesc     = $biblioitem->{'volumeddesc'},
+ volumeddate     = $biblioitem->{'volumeddate'},
  notes                 = $biblioitem->{'bnotes'},
  size          = $biblioitem->{'size'},
! place         = $biblioitem->{'place'},
! volume                = $biblioitem->{'volume'},
! number                = $biblioitem->{'number'},
! lccn          = $biblioitem->{'lccn'},
! 
  where biblioitemnumber = $biblioitem->{'biblioitemnumber'}";
  
***************
*** 2746,2749 ****
--- 2755,2761 ----
  # $Id$
  # $Log$
+ # Revision 1.115.2.21  2005/09/09 16:11:51  tipaul
+ # adding missing fields in biblioitems update
+ #
  # Revision 1.115.2.20  2005/09/01 13:43:33  hdl
  # Fixing a bug for marcimport.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]