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

(-)a/circ/checkout-notes.pl (-2 / +4 lines)
Lines 38-44 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
38
);
38
);
39
39
40
my $pending_checkout_notes = Koha::Checkouts->search({ noteseen => 0 })->count;
40
my $pending_checkout_notes = Koha::Checkouts->search({ noteseen => 0 })->count;
41
my @notes = Koha::Checkouts->search({ 'me.note' => { '!=', undef } }, { prefetch => [ 'borrower', { 'item' => 'biblio' } ] });
41
my @notes = Koha::Database->new()->schema()->resultset('Issue')->search(
42
    { 'me.note' => { '!=', undef } },
43
    { prefetch => [ 'borrower', { 'item' => 'biblio' } ] }
44
);
42
45
43
$template->param(
46
$template->param(
44
    pending_checkout_notes => $pending_checkout_notes,
47
    pending_checkout_notes => $pending_checkout_notes,
45
- 

Return to bug 17698