[Koha-cvs] koha/export export.pl [dev_week]
Joshua Ferraro
jmf at kados.org
Wed Aug 9 17:16:51 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Joshua Ferraro <kados> 06/08/09 15:16:51
Modified files:
export : export.pl
Log message:
TUMER: Please confirm that marc_biblio is deprecated in dev_week.
This commit changes to use biblioitems for location of biblionumbers
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/export/export.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1&r2=1.1.2.1.2.1
Patches:
Index: export.pl
===================================================================
RCS file: /sources/koha/koha/export/export.pl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.1.2.1
diff -u -b -r1.1.2.1 -r1.1.2.1.2.1
--- export.pl 31 Mar 2006 18:07:44 -0000 1.1.2.1
+++ export.pl 9 Aug 2006 15:16:51 -0000 1.1.2.1.2.1
@@ -20,10 +20,10 @@
my $dbh=C4::Context->dbh;
my $sth;
if ($start_bib && $end_bib) {
- $sth=$dbh->prepare("select bibid from marc_biblio where bibid >=? and bibid <=? order by bibid");
+ $sth=$dbh->prepare("select biblionumber from biblioitems where biblionumber>=? and biblionumber<=? order by biblionumber");
$sth->execute($start_bib,$end_bib);
} else {
- $sth=$dbh->prepare("select bibid from marc_biblio order by bibid");
+ $sth=$dbh->prepare("select biblionumber from biblioitems order by biblionumber");
$sth->execute();
}
while (my ($bibid) = $sth->fetchrow) {
More information about the Koha-cvs
mailing list