Bugzilla – Attachment 35986 Details for
Bug 13679
If you have overdues that match a rule, and have some items due in the future they are included in the list of overdues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 13679 : Bug in listing overdues
SIGNED-OFF-Bug-13679--Bug-in-listing-overdues.patch (text/plain), 1.23 KB, created by
Nick Clemens (kidclamp)
on 2015-02-17 19:49:13 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 13679 : Bug in listing overdues
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2015-02-17 19:49:13 UTC
Size:
1.23 KB
patch
obsolete
>From b13aa99092d99a665341c6b72db40e186b41f0f8 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chris@bigballofwax.co.nz> >Date: Sat, 7 Feb 2015 17:04:40 +1300 >Subject: [PATCH] [SIGNED OFF] Bug 13679 : Bug in listing overdues > >To test >1/ Create some overdues and some issues due in the future >2/ Run the overdues script >3/ Notice item due in the future is in the list >4/ Apply patch >5/ Run script again >6/ Notice in the future not in the list > >Signed-off-by: Nick <Nick@quechelibrary.org> >--- > misc/cronjobs/overdue_notices.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index 4d05ff7..8db858d 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -602,6 +602,8 @@ END_SQL > my $j = 0; > my $exceededPrintNoticesMaxLines = 0; > while ( my $item_info = $sth2->fetchrow_hashref() ) { >+ next unless ( DateTime->compare( $date_to_run, dt_from_string($item_info->{date_due})) ) == 1; >+ > if ( C4::Context->preference('OverdueNoticeCalendar') ) { > my $calendar = > Koha::Calendar->new( branchcode => $branchcode ); >-- >1.7.10.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 13679
:
35715
|
35986
|
36020