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

(-)a/circ/returns.pl (-3 / +2 lines)
Lines 50-56 use C4::RotatingCollections; Link Here
50
use Koha::AuthorisedValues;
50
use Koha::AuthorisedValues;
51
use Koha::DateUtils;
51
use Koha::DateUtils;
52
use Koha::Calendar;
52
use Koha::Calendar;
53
use Koha::Issues;
53
use Koha::Checkouts;
54
54
55
my $query = new CGI;
55
my $query = new CGI;
56
56
Lines 579-585 foreach ( sort { $a <=> $b } keys %returneditems ) { Link Here
579
            $ri{bortitle}       = $b->{'title'};
579
            $ri{bortitle}       = $b->{'title'};
580
            $ri{bornote}        = $b->{'borrowernotes'};
580
            $ri{bornote}        = $b->{'borrowernotes'};
581
            $ri{borcategorycode}= $b->{'categorycode'};
581
            $ri{borcategorycode}= $b->{'categorycode'};
582
            $ri{borissuescount} = Koha::Issues->count( { borrowernumber => $b->{'borrowernumber'} } );
582
            $ri{borissuescount} = Koha::Checkouts->count( { borrowernumber => $b->{'borrowernumber'} } );
583
        }
583
        }
584
        else {
584
        else {
585
            $ri{borrowernumber} = $riborrowernumber{$_};
585
            $ri{borrowernumber} = $riborrowernumber{$_};
586
- 

Return to bug 17919