[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/C4 Breeding.pm,1.8,1.9
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] CVS: koha/C4 Breeding.pm,1.8,1.9 |
Date: |
Fri, 30 Sep 2005 11:58:27 -0700 |
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4987
Modified Files:
Breeding.pm
Log Message:
Previously there was no check to make sure that an issn number
actually existed; so if there was no isbn, and the issn was blank,
the item would be assigned a random biblionumber and the breeding farm
would report that the item already exists in the catalog (even though
it didn't). This fix adds a check to determine whether the imported
record has an issn before assigning a matching biblionumber.
Index: Breeding.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Breeding.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** Breeding.pm 4 May 2005 15:39:08 -0000 1.8
--- Breeding.pm 30 Sep 2005 18:58:25 -0000 1.9
***************
*** 92,97 ****
($biblioitemnumber) = $searchisbn->fetchrow;
} else {
! $searchissn->execute($oldbiblio->{issn});
! ($biblioitemnumber) = $searchissn->fetchrow;
}
if ($biblioitemnumber) {
--- 92,99 ----
($biblioitemnumber) = $searchisbn->fetchrow;
} else {
! if ($oldbiblio->{issn}) {
! $searchissn->execute($oldbiblio->{issn});
! ($biblioitemnumber) = $searchissn->fetchrow;
! }
}
if ($biblioitemnumber) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/C4 Breeding.pm,1.8,1.9,
Joshua Ferraro <=