@@ -, +, @@ --- koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc | 4 ++++ opac/opac-detail.pl | 5 +++++ 2 files changed, 9 insertions(+) --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc @@ -76,6 +76,10 @@ Not for loan [% IF ( item.restrictedvalueopac ) %]([% item.restrictedvalueopac | html %])[% END %] [% END %] +[% IF ( item.bundle_host ) %] + In bundle: [% INCLUDE 'biblio-title.inc' biblio = item.bundle_host.biblio %] +[% END %] + [% IF ( item.damaged ) %] [% SET itemavailable = 0 %] [% av_lib_include = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => item.damaged, opac => 1 ) %] --- a/opac/opac-detail.pl +++ a/opac/opac-detail.pl @@ -766,6 +766,11 @@ if ( not $viewallitems and @items > $max_items_to_display ) { $itm->{cover_images} = $item->cover_images; } + if ( $item->in_bundle ) { + my $host = $item->bundle_host; + $itm->{bundle_host} = $host; + } + my $itembranch = $itm->{$separatebranch}; if ($currentbranch and C4::Context->preference('OpacSeparateHoldings')) { if ($itembranch and $itembranch eq $currentbranch) { --