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

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

Return to bug 12747