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 461-467 if ($session->param('busc')) { Link Here
461
461
462
$template->param(
462
$template->param(
463
    ItemsIssued => CountItemsIssued( $biblionumber ),
463
    ItemsIssued => CountItemsIssued( $biblionumber ),
464
    ItemsWaiting => Koha::Holds->search({biblionumber => $biblionumber, found => 'W'})->count(),
464
    ItemsWaitingOrInTransit => Koha::Holds->search({biblionumber => $biblionumber, found => ['W', 'T']})->count(),
465
    OPACShowCheckoutName => C4::Context->preference("OPACShowCheckoutName"),
465
    OPACShowCheckoutName => C4::Context->preference("OPACShowCheckoutName"),
466
    OPACShowBarcode => C4::Context->preference("OPACShowBarcode")
466
    OPACShowBarcode => C4::Context->preference("OPACShowBarcode")
467
);
467
);
468
- 

Return to bug 4319