@@ -, +, @@ edition statements in Z39.50 biblio search results edition statement (if present in the record). mapping, i.e. for MARC 21 coming from 260 $c or 264 $c subfield) and edition statements from the records found. --- C4/Breeding.pm | 4 +++- .../intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) --- a/C4/Breeding.pm +++ a/C4/Breeding.pm @@ -307,8 +307,10 @@ sub _handle_one_result { my $row; if( $breedingid ){ my @kohafields = ('biblio.title','biblio.author','biblioitems.isbn','biblioitems.lccn','biblioitems.editionstatement'); - push @kohafields, C4::Context->preference('marcflavour') eq "MARC21" ? 'biblio.copyrightdate' : 'biblioitems.publicationyear'; + my $date_label = C4::Context->preference('marcflavour') eq "MARC21" ? 'biblio.copyrightdate' : 'biblioitems.publicationyear'; + push @kohafields, $date_label; $row = C4::Biblio::TransformMarcToKoha({ record => $marcrecord, kohafields => \@kohafields, limit_table => 'no_items' }); + $row->{date} = $row->{ substr( $date_label, index( $date_label, '.' ) + 1 ) }; $row->{biblionumber} = $bib; $row->{server} = $servhref->{servername}; $row->{breedingid} = $breedingid; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -172,7 +172,7 @@ [% breeding_loo.title | html %] [% breeding_loo.author | html %] [% breeding_loo.date | html %] - [% breeding_loo.edition | html %] + [% breeding_loo.editionstatement | html %] [% breeding_loo.isbn | html %] [% breeding_loo.lccn | html %] [% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] --