Bugzilla – Attachment 12049 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]
circ/circulation.pl: force issuedate to a string to fix bug 8738
circcirculationpl-force-issuedate-to-a-string-to-f.patch (text/plain), 1004 bytes, created by
MJ Ray (software.coop)
on 2012-09-07 14:18:47 UTC
(
hide
)
Description:
circ/circulation.pl: force issuedate to a string to fix bug 8738
Filename:
MIME Type:
Creator:
MJ Ray (software.coop)
Created:
2012-09-07 14:18:47 UTC
Size:
1004 bytes
patch
obsolete
>From af85601eff43339c18d32a4054277f1ed5fc23b4 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 > >--- > circ/circulation.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 7b388ce..f9db9a2 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -461,7 +461,7 @@ sub build_issue_data { > ($it->{'author'} eq '') and $it->{'author'} = ' '; > $it->{'renew_failed'} = $renew_failed{$it->{'itemnumber'}}; > >- 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