[Koha-cvs] CVS: koha/C4 Biblio.pm,1.115.2.24,1.115.2.25
doXulting
doxulting at users.sourceforge.net
Fri Oct 28 15:46:52 CEST 2005
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19299/C4
Modified Files:
Tag: rel_2_2
Biblio.pm
Log Message:
There was a bug : Even if you erased the marc field linked to additionalauthors.authors the additionalauthors stayed in database. Now : delete before recreating
Index: Biblio.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Biblio.pm,v
retrieving revision 1.115.2.24
retrieving revision 1.115.2.25
diff -C2 -r1.115.2.24 -r1.115.2.25
*** Biblio.pm 26 Oct 2005 16:37:24 -0000 1.115.2.24
--- Biblio.pm 28 Oct 2005 13:46:50 -0000 1.115.2.25
***************
*** 1341,1344 ****
--- 1341,1345 ----
foreach my $addiauthfield (@addiauthfields) {
my @addiauthsubfields = $addiauthfield->subfield($tagsubfield);
+ $dbh->do("delete from additionalauthors where biblionumber=$oldbiblionumber");
foreach my $subfieldcount (0..$#addiauthsubfields) {
OLDmodaddauthor($dbh,$oldbiblionumber,$addiauthsubfields[$subfieldcount]);
***************
*** 2755,2758 ****
--- 2756,2762 ----
# $Id$
# $Log$
+ # Revision 1.115.2.25 2005/10/28 13:46:50 doxulting
+ # There was a bug : Even if you erased the marc field linked to additionalauthors.authors the additionalauthors stayed in database. Now : delete before recreating
+ #
# Revision 1.115.2.24 2005/10/26 16:37:24 doxulting
# It was impossible to add a subfield with value : 0. Was a problem for loan status.
More information about the Koha-cvs
mailing list