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

(-)a/C4/Breeding.pm (-4 / +3 lines)
Lines 328-337 sub _add_rowdata { Link Here
328
        author => 'biblio.author',
328
        author => 'biblio.author',
329
        isbn =>'biblioitems.isbn',
329
        isbn =>'biblioitems.isbn',
330
        lccn =>'biblioitems.lccn', #LC control number (not call number)
330
        lccn =>'biblioitems.lccn', #LC control number (not call number)
331
        edition =>'biblioitems.editionstatement',
331
        edition =>'biblioitems.editionstatement'
332
        date => 'biblio.copyrightdate', #MARC21
333
        date2 => 'biblioitems.publicationyear', #UNIMARC
334
    );
332
    );
333
    $fetch{date} = C4::Context->preference('marcflavour') eq "MARC21" ? 'biblio.copyrightdate' : 'biblioitems.publicationyear';
334
335
    foreach my $k (keys %fetch) {
335
    foreach my $k (keys %fetch) {
336
        $row->{$k} = C4::Biblio::TransformMarcToKohaOneField( $fetch{$k}, $record );
336
        $row->{$k} = C4::Biblio::TransformMarcToKohaOneField( $fetch{$k}, $record );
337
    }
337
    }
338
- 

Return to bug 12747