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

(-)a/opac/opac-user.pl (-2 / +1 lines)
Lines 184-190 my $overdues_count = 0; Link Here
184
my @overdues;
184
my @overdues;
185
my @issuedat;
185
my @issuedat;
186
my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };
186
my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };
187
my $pending_checkouts = $patron->pending_checkouts({}, { order_by => [ { -desc => 'date_due' }, { -asc => 'issue_id' } ] });
187
my $pending_checkouts = $patron->pending_checkouts->search({}, { order_by => [ { -desc => 'date_due' }, { -asc => 'issue_id' } ] });
188
if ( $pending_checkouts->count ) { # Useless test
188
if ( $pending_checkouts->count ) { # Useless test
189
    while ( my $c = $pending_checkouts->next ) {
189
    while ( my $c = $pending_checkouts->next ) {
190
        my $issue = $c->unblessed_all_relateds;
190
        my $issue = $c->unblessed_all_relateds;
191
- 

Return to bug 19935