koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/C4 SimpleMarc.pm,1.1.2.6,1.1.2.7


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha/C4 SimpleMarc.pm,1.1.2.6,1.1.2.7
Date: Fri, 01 Nov 2002 10:15:32 -0800

Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv10689

Modified Files:
      Tag: rel-1-2
        SimpleMarc.pm 
Log Message:
Put stripping '-' back in.  Technically, an ISBN isn't necessarily unique
without the hyphens, but it makes searching a lot more difficult (because the
hyphens have to be in place to do the searches then...)


Index: SimpleMarc.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/SimpleMarc.pm,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -r1.1.2.6 -r1.1.2.7
*** SimpleMarc.pm       1 Nov 2002 18:13:46 -0000       1.1.2.6
--- SimpleMarc.pm       1 Nov 2002 18:15:29 -0000       1.1.2.7
***************
*** 324,328 ****
  
        if ( $bib->{isbn} ) {
!           $bib->{isbn}=~s/[^\d-X]*//g;        # drop non-digits
        };
  
--- 324,328 ----
  
        if ( $bib->{isbn} ) {
!           $bib->{isbn}=~s/[^\dX]*//g; # drop non-digits
        };
  
***************
*** 466,469 ****
--- 466,474 ----
  #---------------------------------------------
  # $Log$
+ # Revision 1.1.2.7  2002/11/01 18:15:29  tonnesen
+ # Put stripping '-' back in.  Technically, an ISBN isn't necessarily unique
+ # without the hyphens, but it makes searching a lot more difficult (because 
the
+ # hyphens have to be in place to do the searches then...)
+ #
  # Revision 1.1.2.6  2002/11/01 18:13:46  tonnesen
  # No longer removes - or X characters from ISBNs.




reply via email to

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