View | Details | Raw Unified | Return to bug 28854
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc (+4 lines)
Lines 76-81 Link Here
76
    <span class="item-status notforloan">Not for loan [% IF ( item.restrictedvalueopac ) %]<span class="restricted">([% item.restrictedvalueopac | html %])</span>[% END %]</span>
76
    <span class="item-status notforloan">Not for loan [% IF ( item.restrictedvalueopac ) %]<span class="restricted">([% item.restrictedvalueopac | html %])</span>[% END %]</span>
77
[% END %]
77
[% END %]
78
78
79
[% IF ( item.bundle_host ) %]
80
    <span class="bundled">In bundle: <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.bundle_host.biblionumber %]">[% INCLUDE 'biblio-title.inc' biblio = item.bundle_host.biblio %]</a></span>
81
[% END %]
82
79
[% IF ( item.damaged ) %]
83
[% IF ( item.damaged ) %]
80
    [% SET itemavailable = 0 %]
84
    [% SET itemavailable = 0 %]
81
    [% av_lib_include = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => item.damaged, opac => 1 ) %]
85
    [% av_lib_include = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => item.damaged, opac => 1 ) %]
(-)a/opac/opac-detail.pl (-1 / +5 lines)
Lines 766-771 if ( not $viewallitems and @items > $max_items_to_display ) { Link Here
766
        $itm->{cover_images} = $item->cover_images;
766
        $itm->{cover_images} = $item->cover_images;
767
    }
767
    }
768
768
769
    if ( $item->in_bundle ) {
770
        my $host = $item->bundle_host;
771
        $itm->{bundle_host} = $host;
772
    }
773
769
    my $itembranch = $itm->{$separatebranch};
774
    my $itembranch = $itm->{$separatebranch};
770
    if ($currentbranch and C4::Context->preference('OpacSeparateHoldings')) {
775
    if ($currentbranch and C4::Context->preference('OpacSeparateHoldings')) {
771
        if ($itembranch and $itembranch eq $currentbranch) {
776
        if ($itembranch and $itembranch eq $currentbranch) {
772
- 

Return to bug 28854