View | Details | Raw Unified | Return to bug 6520
Collapse All | Expand All

(-)a/tools/showdiffmarc.pl (-5 / +3 lines)
Lines 65-71 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
65
);
65
);
66
66
67
67
68
$recordBiblionumber =GetMarcBiblio($biblionumber);
68
$recordBiblionumber = GetMarcBiblio($biblionumber, 'embed_items');
69
if( $recordBiblionumber ) {
69
if( $recordBiblionumber ) {
70
    $formatted1 = $recordBiblionumber->as_formatted;
70
    $formatted1 = $recordBiblionumber->as_formatted;
71
    my $data = GetBiblioData($biblionumber);
71
    my $data = GetBiblioData($biblionumber);
Lines 74-82 if( $recordBiblionumber ) { Link Here
74
    $errorFormatted1 = 1;
74
    $errorFormatted1 = 1;
75
}
75
}
76
76
77
my ($marc,$encoding) = GetImportRecordMarc($importid);
77
if( $importid ) {
78
if( $marc ) {
78
    $recordImportid = C4::ImportBatch::GetRecordFromImportBiblio( $importid, 'embed_items' );
79
    $recordImportid = MARC::Record->new_from_usmarc($marc) ;
80
    $formatted2 = $recordImportid->as_formatted;
79
    $formatted2 = $recordImportid->as_formatted;
81
    my $biblio = GetImportBiblios($importid);
80
    my $biblio = GetImportBiblios($importid);
82
    $importTitle = $biblio->[0]->{'title'};
81
    $importTitle = $biblio->[0]->{'title'};
83
- 

Return to bug 6520