[Koha-bugs] [Bug 33444] AddRenewal should take a hash of parameters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 18 14:33:16 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33444

--- Comment #12 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #5)
> misc/cronjobs/automatic_renewals.pl
> 
> -            my $date_due = AddRenewal( $auto_renew->borrowernumber,
> $auto_renew->itemnumber, $auto_renew->branchcode, undef, undef, undef, 0, 1
> );
> +            my $date_due = AddRenewal({
> +                borrowernumber => $auto_renew->borrowernumber,
> +                itemnumber => $auto_renew->itemnumber,
> +                branch => $auto_renew->branchcode,
> +                seen => 0,
> +                automatic => 1,
> +                skip_record_index => 1
> 
> This is not the same. skip_record_index was not there before
> Please clarify

Adjusted in patch 1 in consultation with Nick on IRC.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list