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

(-)a/circ/circulation.pl (-1 / +2 lines)
Lines 457-465 if ($borrowernumber) { Link Here
457
# show all reserves of this borrower, and the position of the reservation ....
457
# show all reserves of this borrower, and the position of the reservation ....
458
if ($borrowernumber) {
458
if ($borrowernumber) {
459
    my $holds = Koha::Holds->search( { borrowernumber => $borrowernumber } );
459
    my $holds = Koha::Holds->search( { borrowernumber => $borrowernumber } );
460
    my $waiting_holds = $holds->waiting;
460
    $template->param(
461
    $template->param(
461
        holds_count  => $holds->count(),
462
        holds_count  => $holds->count(),
462
        WaitingHolds => scalar $holds->waiting(),
463
        WaitingHolds => $waiting_holds,
463
    );
464
    );
464
465
465
    $template->param( adultborrower => 1 ) if ( $borrower->{category_type} eq 'A' || $borrower->{category_type} eq 'I' );
466
    $template->param( adultborrower => 1 ) if ( $borrower->{category_type} eq 'A' || $borrower->{category_type} eq 'I' );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-2 / +1 lines)
Lines 797-803 No patron matched <span class="ex">[% message %]</span> Link Here
797
			</ul>
797
			</ul>
798
        </div>
798
        </div>
799
799
800
            [% IF ( WaitingHolds ) %]
800
            [% IF WaitingHolds.count %]
801
                <div id="holdswaiting" class="circmessage">
801
                <div id="holdswaiting" class="circmessage">
802
                    <h4>Holds waiting:</h4>
802
                    <h4>Holds waiting:</h4>
803
                    [% FOREACH w IN WaitingHolds %]
803
                    [% FOREACH w IN WaitingHolds %]
804
- 

Return to bug 14324