From: kados Date: Sun, 24 Sep 2006 20:00:51 +0000 (+0000) Subject: Committing some improvements to Amazon.pm X-Git-Tag: dev_week~446 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=f72c2df31ebd54b80e47da886db2a4ffb568d45e;p=koha.git Committing some improvements to Amazon.pm Updating AuthoritiesMarc to use new API in Biblio Improvements to Auth, Output and Search Adding Record.pm for record management --- diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 5647c6207d..8a293cc9e3 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -121,7 +121,7 @@ my $counter = $offset; $length=10 unless $length; my @oAuth; my $i; - $oAuth[0]=C4::Context->Zconnauth("authorityserver"); + $oAuth[0]=C4::Context->Zconn("authorityserver",1,1); my ($mainentry)=MARCfind_attr_from_kohafield("mainentry"); my ($allentry)=MARCfind_attr_from_kohafield("allentry"); @@ -738,7 +738,7 @@ $oConnection[0]->destroy(); if ($update==1){ my $biblionumber=XML_readline_onerecord($xmlhash,"biblionumber","biblios"); my $frameworkcode=MARCfind_frameworkcode($dbh,$biblionumber); - NEWmodbiblio($dbh,$biblionumber,$xmlhash,$frameworkcode) ; + ModBiblio($dbh,$biblionumber,$xmlhash,$frameworkcode) ; } }#foreach $xmlhash