Bugzilla – Attachment 9411 Details for
Bug 8043
today's checkouts are in Previous checkouts in circulation.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-Bug-8043-today-s-checkouts-are-in-Previous-checkouts.patch (text/plain), 1.05 KB, created by
Stéphane Delaune
on 2012-05-04 10:15:14 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Stéphane Delaune
Created:
2012-05-04 10:15:14 UTC
Size:
1.05 KB
patch
obsolete
>From b09e53ec679a1206c233f4438e8aa8c06e06cebd Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?St=C3=A9phane=20Delaune?= <stephane.delaune@biblibre.com> >Date: Fri, 4 May 2012 12:13:12 +0200 >Subject: [PATCH] Bug 8043: today's checkouts are in Previous checkouts in > circulation.pl > >--- > circ/circulation.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index bcbcb6f..98b371e 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -457,7 +457,7 @@ sub build_issue_data { > ($it->{'author'} eq '') and $it->{'author'} = ' '; > $it->{'renew_failed'} = $renew_failed{$it->{'itemnumber'}}; > >- if ( $todaysdate eq $it->{'issuedate'} or $todaysdate eq $it->{'lastreneweddate'} ) { >+ if ( $todaysdate eq substr($it->{'issuedate'},0,10) or $todaysdate eq substr($it->{'lastreneweddate'},0,10) ) { > (!$relatives) ? push @todaysissues, $it : push @relissues, $it; > } else { > (!$relatives) ? push @previousissues, $it : push @relprevissues, $it; >-- >1.7.9.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 8043
:
9411
|
9455
|
9891
|
10273
|
10277