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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (-1 / +1 lines)
Lines 3-9 Link Here
3
    [% UNLESS ( norequests ) %]
3
    [% UNLESS ( norequests ) %]
4
        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
4
        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
5
            [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
5
            [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
6
                [% IF ( AllowOnShelfHolds OR ItemsIssued OR ItemsWaiting ) %]
6
                [% IF ( AllowOnShelfHolds OR ItemsIssued OR ItemsWaitingOrInTransit ) %]
7
                    <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% biblionumber | html %]">Place hold</a></li>
7
                    <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% biblionumber | html %]">Place hold</a></li>
8
                [% END %]
8
                [% END %]
9
            [% END %]
9
            [% END %]
(-)a/opac/opac-detail.pl (-2 / +1 lines)
Lines 460-466 if ($session->param('busc')) { Link Here
460
460
461
$template->param(
461
$template->param(
462
    ItemsIssued => CountItemsIssued( $biblionumber ),
462
    ItemsIssued => CountItemsIssued( $biblionumber ),
463
    ItemsWaiting => Koha::Holds->search({biblionumber => $biblionumber, found => 'W'})->count(),
463
    ItemsWaitingOrInTransit => Koha::Holds->search({biblionumber => $biblionumber, found => ['W', 'T']})->count(),
464
    OPACShowCheckoutName => C4::Context->preference("OPACShowCheckoutName"),
464
    OPACShowCheckoutName => C4::Context->preference("OPACShowCheckoutName"),
465
    OPACShowBarcode => C4::Context->preference("OPACShowBarcode")
465
    OPACShowBarcode => C4::Context->preference("OPACShowBarcode")
466
);
466
);
467
- 

Return to bug 4319