Bug 6292 followup
selection of items to be listed in an overdue notice included
both limits (upper and lower). So items with an overdue equal
to a limit appeared on both notices. This patch fix this,
including lower limit and excluding upper limit for the selection.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
(cherry picked from commit d86d62adba)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
da99978777
commit
7d9ca3f1e4
|
|
@ -410,7 +410,7 @@ END_SQL
|
|||
my $mindays = $overdue_rules->{"delay$i"}; # the notice will be sent after mindays days (grace period)
|
||||
my $maxdays = (
|
||||
$overdue_rules->{ "delay" . ( $i + 1 ) }
|
||||
? $overdue_rules->{ "delay" . ( $i + 1 ) }
|
||||
? $overdue_rules->{ "delay" . ( $i + 1 ) } - 1
|
||||
: ($MAX)
|
||||
); # issues being more than maxdays late are managed somewhere else. (borrower probably suspended)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue