Committing some improvements to Amazon.pm
authorkados <kados>
Sun, 24 Sep 2006 20:00:51 +0000 (20:00 +0000)
committerkados <kados>
Sun, 24 Sep 2006 20:00:51 +0000 (20:00 +0000)
Updating AuthoritiesMarc to use new API in Biblio

Improvements to Auth, Output and Search

Adding Record.pm for record management

C4/AuthoritiesMarc.pm

index 5647c62..8a293cc 100644 (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