[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Biblio.pm [dev_week]
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/C4 Biblio.pm [dev_week] |
Date: |
Thu, 05 Oct 2006 23:44:40 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Joshua Ferraro <kados> 06/10/05 23:44:40
Modified files:
C4 : Biblio.pm
Log message:
fix for bug 1177: Koha table entries not deleted when biblio deleted
I leave it for later to do something similar for rel_2_2 and rel_3_0,
etc.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Biblio.pm?cvsroot=koha&only_with_tag=dev_week&r1=1.115.2.51.2.36&r2=1.115.2.51.2.37
Patches:
Index: Biblio.pm
===================================================================
RCS file: /sources/koha/koha/C4/Biblio.pm,v
retrieving revision 1.115.2.51.2.36
retrieving revision 1.115.2.51.2.37
diff -u -b -r1.115.2.51.2.36 -r1.115.2.51.2.37
--- Biblio.pm 5 Oct 2006 21:05:20 -0000 1.115.2.51.2.36
+++ Biblio.pm 5 Oct 2006 23:44:40 -0000 1.115.2.51.2.37
@@ -486,6 +486,11 @@
return $error if $error;
}
}
+ # delete from other koha tables
+ $sth = $dbh->prepare("DELETE FROM bibliosubject WHERE biblionumber=?");
+ $sth->execute($biblionumber);
+ $sth = $dbh->prepare("DELETE FROM additionalauthors WHERE
biblionumber=?");
+ $sth->execute($biblionumber);
}
@@ -3159,8 +3164,13 @@
=cut
-# $Id: Biblio.pm,v 1.115.2.51.2.36 2006/10/05 21:05:20 kados Exp $
+# $Id: Biblio.pm,v 1.115.2.51.2.37 2006/10/05 23:44:40 kados Exp $
# $Log: Biblio.pm,v $
+# Revision 1.115.2.51.2.37 2006/10/05 23:44:40 kados
+# fix for bug 1177: Koha table entries not deleted when biblio deleted
+#
+# I leave it for later to do something similar for rel_2_2 and rel_3_0, etc.
+#
# Revision 1.115.2.51.2.36 2006/10/05 21:05:20 kados
# just cleanup, no changes
#
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/02
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/03
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/03
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/03
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/03
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/05
- [Koha-cvs] koha/C4 Biblio.pm [dev_week],
Joshua Ferraro <=
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/07
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/07
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/10
- [Koha-cvs] koha/C4 Biblio.pm [dev_week], Joshua Ferraro, 2006/10/10