projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c8ac9
)
Bug 5549 : Cannot use CUR_DATE on date_due column
author
Colin Campbell
<colin.campbell@ptfs-europe.com>
Fri, 17 Jun 2011 11:13:47 +0000
(12:13 +0100)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Mon, 19 Mar 2012 23:34:20 +0000
(12:34 +1300)
Comparison of CUR_TIME() & datetime gives
table corrupted error in mysql
Plus we want to see hourly loans
C4/Overdues.pm
patch
|
blob
|
history
diff --git
a/C4/Overdues.pm
b/C4/Overdues.pm
index
660e10b
..
afccdb5
100644
(file)
--- a/
C4/Overdues.pm
+++ b/
C4/Overdues.pm
@@
-1218,7
+1218,7
@@
sub GetOverduesForBranch {
WHERE (accountlines.amountoutstanding != '0.000000')
AND (accountlines.accounttype = 'FU' )
AND (issues.branchcode = ? )
- AND (issues.date_due <
CURDATE
())
+ AND (issues.date_due <
NOW
())
";
my @getoverdues;
my $i = 0;