Bugzilla – Attachment 4982 Details for
Bug 6292
Overdue notices have a bug when multiple overdues exist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Followup for the 6292 patch selecting correct list of items for overdue notices
0001-bug-6292-followup-selection-of-items-to-be-listed-in.patch (text/plain), 1.26 KB, created by
Sophie MEYNIEUX
on 2011-08-12 15:03:11 UTC
(
hide
)
Description:
Followup for the 6292 patch selecting correct list of items for overdue notices
Filename:
MIME Type:
Creator:
Sophie MEYNIEUX
Created:
2011-08-12 15:03:11 UTC
Size:
1.26 KB
patch
obsolete
>From 9115d648dfc19e078c8ba099f678258f3dee683d Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Fri, 12 Aug 2011 16:04:13 +0200 >Subject: [PATCH] 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. > >--- > misc/cronjobs/overdue_notices.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index e605451..ed33400 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -409,7 +409,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) > >-- >1.7.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6292
:
4027
|
4028
|
4982
|
5000
|
5001
|
5221
|
6700