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
This commit is contained in:
kados 2006-09-24 20:00:51 +00:00
parent a35f2594b1
commit f72c2df31e
1 changed files with 2 additions and 2 deletions

View File

@ -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