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

(-)a/circ/checkout-notes.pl (-1 / +1 lines)
Lines 56-62 if ( $action eq 'seen' ) { Link Here
56
    }
56
    }
57
}
57
}
58
58
59
my $notes = Koha::Checkouts->search({ 'me.note' => { '!=', undef } }, { prefetch => [ 'borrower', { item => 'biblionumber' } ] });
59
my $notes = Koha::Checkouts->search({ 'me.note' => { '!=', undef } }, { prefetch => [ 'patron', { item => 'biblionumber' } ] });
60
$template->param(
60
$template->param(
61
    selected_count => scalar(@issue_ids),
61
    selected_count => scalar(@issue_ids),
62
    action         => $action,
62
    action         => $action,
(-)a/misc/cronjobs/automatic_renewals.pl (-1 / +1 lines)
Lines 132-138 $verbose = 1 unless $verbose or $confirm; Link Here
132
print "Test run only\n" unless $confirm;
132
print "Test run only\n" unless $confirm;
133
133
134
print "getting auto renewals\n" if $verbose;
134
print "getting auto renewals\n" if $verbose;
135
my $auto_renews = Koha::Checkouts->search({ auto_renew => 1, 'borrower.autorenew_checkouts' => 1 },{ join => 'borrower'});
135
my $auto_renews = Koha::Checkouts->search({ auto_renew => 1, 'patron.autorenew_checkouts' => 1 },{ join => 'patron'});
136
print "found " . $auto_renews->count . " auto renewals\n" if $verbose;
136
print "found " . $auto_renews->count . " auto renewals\n" if $verbose;
137
137
138
my $renew_digest = {};
138
my $renew_digest = {};
(-)a/tools/batch_extend_due_dates.pl (-3 / +2 lines)
Lines 59-65 elsif ( $op eq 'list' ) { Link Here
59
    my $dtf = Koha::Database->new->schema->storage->datetime_parser;
59
    my $dtf = Koha::Database->new->schema->storage->datetime_parser;
60
    my $search_params;
60
    my $search_params;
61
    if (@categorycodes) {
61
    if (@categorycodes) {
62
        $search_params->{'borrower.categorycode'} = { -in => \@categorycodes };
62
        $search_params->{'patron.categorycode'} = { -in => \@categorycodes };
63
    }
63
    }
64
    if (@branchcodes) {
64
    if (@branchcodes) {
65
        $search_params->{'me.branchcode'} = { -in => \@branchcodes };
65
        $search_params->{'me.branchcode'} = { -in => \@branchcodes };
Lines 98-104 elsif ( $op eq 'list' ) { Link Here
98
    my $checkouts = Koha::Checkouts->search(
98
    my $checkouts = Koha::Checkouts->search(
99
        $search_params,
99
        $search_params,
100
        {
100
        {
101
            join => [ 'item', 'borrower' ]
101
            join => [ 'item', 'patron' ]
102
        }
102
        }
103
    );
103
    );
104
104
105
- 

Return to bug 29380