@@ -, +, @@ subfield data - On a UNIMARC Koha, add a new biblio record - Call the 4XX plugin from 461/463 field - Search for a biblio record which contains 200$e, and/or 200$h and/or 200$i subfields. - You get a result list, with two issues: 1. $a, $h & $i aren't displayed 2. Biblio title is not a link - Apply the patch, and repeat previous steps. --- cataloguing/value_builder/unimarc_field_4XX.pl | 8 ++++++++ .../en/modules/cataloguing/value_builder/unimarc_field_4XX.tt | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) --- a/cataloguing/value_builder/unimarc_field_4XX.pl +++ a/cataloguing/value_builder/unimarc_field_4XX.pl @@ -378,7 +378,15 @@ sub plugin { ) { my $record = C4::Search::new_record_from_zebra( 'biblioserver', $results->[$i] ); + next unless $record; my $rechash = TransformMarcToKoha( $dbh, $record ); + if ( my $f = $record->field('200') ) { + $rechash->{fulltitle} = + join(', ', map { $_->[1] } grep { $_->[0] =~ /[aehi]/ } $f->subfields() ); + } + else { + $rechash->{fulltitle} = $rechash->{title}; + } my $pos; my $countitems; if ( $rechash->{itemnumber} ) { --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt @@ -167,9 +167,9 @@ [% IF ( resul.even ) %] [% ELSE %][% END %] [% IF ( resul.MARC_ON ) %] - [% resul.title |html %] + [% resul.title |html %] [% ELSE %] - [% resul.title |html %] [% END %] + [% resul.fulltitle |html %][% END %]

[% resul.author |html %] [% IF ( resul.publishercode ) %]- [% resul.publishercode |html %][% END %] [% IF ( resul.place ) %] ; [% resul.place |html %][% END %] --