Bugzilla – Attachment 12522 Details for
Bug 8738
DateTime object being compared to a date string in circulation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] circ/circulation.pl: force issuedate to a string to fix bug 8738
circcirculationpl-force-issuedate-to-a-string-to-f.patch (text/plain), 1.19 KB, created by
Kyle M Hall
on 2012-09-26 11:36:14 UTC
(
hide
)
Description:
[SIGNED-OFF] circ/circulation.pl: force issuedate to a string to fix bug 8738
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-09-26 11:36:14 UTC
Size:
1.19 KB
patch
obsolete
>From 5281ef2aff67f77c4073a12e02d80fa785f5ba6b Mon Sep 17 00:00:00 2001 >From: MJ Ray <mjr@phonecoop.coop> >Date: Fri, 7 Sep 2012 15:17:05 +0100 >Subject: [PATCH] circ/circulation.pl: force issuedate to a string to fix bug 8738 >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >Installed DataTime version 0.53, verified the error occurs. >Applied patch, verified patch removes the error. >--- > circ/circulation.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index f15d4ce..b051281 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -466,7 +466,7 @@ sub build_issue_data { > $it->{'renew_failed'} = $renew_failed{$it->{'itemnumber'}}; > $it->{'return_failed'} = $return_failed{$it->{'barcode'}}; > >- if ( $it->{'issuedate'} gt $todaysdate or $it->{'lastreneweddate'} gt $todaysdate ) { >+ if ( $it->{'issuedate'}."" gt $todaysdate or $it->{'lastreneweddate'} gt $todaysdate ) { > (!$relatives) ? push @todaysissues, $it : push @relissues, $it; > } else { > (!$relatives) ? push @previousissues, $it : push @relprevissues, $it; >-- >1.7.2.5
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 8738
:
12049
| 12522