@@ -, +, @@ - View the detail page for any title in the OPAC which has items. - Click the "Browse shelf" link next to any item in the holdings table. - The titles in the shelf browser should display with all subtitle information as defined in Keywords to MARC mapping. --- C4/ShelfBrowser.pm | 1 + koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) --- a/C4/ShelfBrowser.pm +++ a/C4/ShelfBrowser.pm @@ -229,6 +229,7 @@ sub GetShelfInfo { $item->{'browser_normalized_oclc'} = GetNormalizedOCLCNumber($this_record,$marcflavour); $item->{'browser_normalized_isbn'} = GetNormalizedISBN(undef,$this_record,$marcflavour); $item->{'browser_normalized_ean'} = GetNormalizedEAN($this_record,$marcflavour); + $item->{'subtitle'} = GetRecordValue('subtitle', $this_record, GetFrameworkCode( $item->{biblionumber} )); push @valid_items, $item; } return @valid_items; --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc @@ -81,7 +81,13 @@ [% FOREACH item IN shelfbrowser_items %] [% item.itemcallnumber %] - [% item.title |html %] + + [% item.title |html %] + [% FOREACH subtitl IN item.subtitle %] + [% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] + [% subtitl.subfield |html %] + [% END %] + [% END %] --