@@ -, +, @@ -> Keyword to MARC Mapping. brief and "More details" view. --- basket/basket.pl | 3 +++ koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) --- a/basket/basket.pl +++ a/basket/basket.pl @@ -61,9 +61,12 @@ if (C4::Context->preference('TagsEnabled')) { foreach my $biblionumber ( @bibs ) { $template->param( biblionumber => $biblionumber ); + my $fw = GetFrameworkCode($biblionumber); + my $dat = &GetBiblioData($biblionumber); next unless $dat; my $record = &GetMarcBiblio($biblionumber); + $dat->{subtitle} = GetRecordValue('subtitle', $record, $fw); my $marcnotesarray = GetMarcNotes( $record, $marcflavour ); my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour ); my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour ); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt @@ -78,12 +78,12 @@

[% IF ( print_basket ) %] [% BIBLIO_RESULT.title |html %] - [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %] + [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %] [% ELSE %] [% BIBLIO_RESULT.title |html %] - [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %] + [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %] [% END %]

@@ -253,7 +253,7 @@ [% END %] - [% BIBLIO_RESULT.title |html %] + [% BIBLIO_RESULT.title |html %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] [% BIBLIO_RESULT.author %]

[% IF ( BIBLIO_RESULT.publishercode ) %]- [% BIBLIO_RESULT.publishercode %] --