[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Search.pm
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/C4 Search.pm |
Date: |
Tue, 26 Jun 2007 15:43:55 +0000 |
CVSROOT: /sources/koha
Module name: koha
Changes by: Antoine Farnault <toins> 07/06/26 15:43:55
Modified files:
C4 : Search.pm
Log message:
removing '-' in isbn to allow amazon content.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Search.pm?cvsroot=koha&r1=1.148&r2=1.149
Patches:
Index: Search.pm
===================================================================
RCS file: /sources/koha/koha/C4/Search.pm,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -b -r1.148 -r1.149
--- Search.pm 26 Jun 2007 09:20:22 -0000 1.148
+++ Search.pm 26 Jun 2007 15:43:55 -0000 1.149
@@ -25,7 +25,7 @@
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
# set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.148 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.149 $' =~ /\d+/g;
shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v );
};
@@ -988,6 +988,7 @@
$oldbiblio->{itemlostcount} = $itemlost_count;
$oldbiblio->{bindingcount} = $itembinding_count;
$oldbiblio->{orderedcount} = $ordered_count;
+ $oldbiblio->{isbn} =~ s/-//g; # deleting - in isbn to enable
amazon content
# FIXME
# Ugh ... this is ugly, I'll re-write it better above then delete it