Bugzilla – Attachment 14467 Details for
Bug 9362
Wrong query in GetUpcomingDueIssues (Circulation.pm)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-Bug-9362-SQL-fix-in-GetUpcomingDueIssues.patch (text/plain), 756 bytes, created by
Adrien SAURAT
on 2013-01-08 13:10:13 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Adrien SAURAT
Created:
2013-01-08 13:10:13 UTC
Size:
756 bytes
patch
obsolete
>From cd2f4d3fcce14c3cf5dae36631cc8d0f46b6f781 Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Tue, 8 Jan 2013 14:08:25 +0100 >Subject: [PATCH] Bug 9362: SQL fix in GetUpcomingDueIssues > >--- > C4/Circulation.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 71fe20f..13c6aae 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2384,7 +2384,7 @@ FROM issues > LEFT JOIN items USING (itemnumber) > LEFT OUTER JOIN branches USING (branchcode) > WhERE returndate is NULL >-AND ( TO_DAYS( NOW() )-TO_DAYS( date_due ) ) < ? >+AND ( TO_DAYS( date_due )-TO_DAYS( NOW() ) ) < ? > END_SQL > > my @bind_parameters = ( $params->{'days_in_advance'} ); >-- >1.7.5.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 9362
:
14467
|
19505
|
19522
|
19599