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

(-)a/C4/Breeding.pm (-1 / +3 lines)
Lines 307-314 sub _handle_one_result { Link Here
307
    my $row;
307
    my $row;
308
    if( $breedingid ){
308
    if( $breedingid ){
309
        my @kohafields = ('biblio.title','biblio.author','biblioitems.isbn','biblioitems.lccn','biblioitems.editionstatement');
309
        my @kohafields = ('biblio.title','biblio.author','biblioitems.isbn','biblioitems.lccn','biblioitems.editionstatement');
310
        push @kohafields, C4::Context->preference('marcflavour') eq "MARC21" ? 'biblio.copyrightdate' : 'biblioitems.publicationyear';
310
        my $date_label = C4::Context->preference('marcflavour') eq "MARC21" ? 'biblio.copyrightdate' : 'biblioitems.publicationyear';
311
        push @kohafields, $date_label;
311
        $row = C4::Biblio::TransformMarcToKoha({ record => $marcrecord, kohafields => \@kohafields, limit_table => 'no_items' });
312
        $row = C4::Biblio::TransformMarcToKoha({ record => $marcrecord, kohafields => \@kohafields, limit_table => 'no_items' });
313
        $row->{date} = $row->{ substr( $date_label, index( $date_label, '.' ) + 1 ) };
312
        $row->{biblionumber} = $bib;
314
        $row->{biblionumber} = $bib;
313
        $row->{server}       = $servhref->{servername};
315
        $row->{server}       = $servhref->{servername};
314
        $row->{breedingid}   = $breedingid;
316
        $row->{breedingid}   = $breedingid;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt (-2 / +1 lines)
Lines 172-178 Link Here
172
                                                <td>[% breeding_loo.title | html %]</td>
172
                                                <td>[% breeding_loo.title | html %]</td>
173
                                                <td>[% breeding_loo.author | html %]</td>
173
                                                <td>[% breeding_loo.author | html %]</td>
174
                                                <td>[% breeding_loo.date | html %]</td>
174
                                                <td>[% breeding_loo.date | html %]</td>
175
                                                <td>[% breeding_loo.edition | html %]</td>
175
                                                <td>[% breeding_loo.editionstatement | html %]</td>
176
                                                <td>[% breeding_loo.isbn | html %]</td>
176
                                                <td>[% breeding_loo.isbn | html %]</td>
177
                                                <td>[% breeding_loo.lccn | html %]</td>
177
                                                <td>[% breeding_loo.lccn | html %]</td>
178
                                                [% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %]
178
                                                [% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %]
179
- 

Return to bug 33231