Bugzilla – Attachment 6016 Details for
Bug 7075
Fine in days values are returned for patrons with past overdues when fine in days is set to 0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-7075-Fine-in-days-triggered-for-patrons-.patch (text/plain), 991 bytes, created by
Owen Leonard
on 2011-10-21 14:28:08 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-10-21 14:28:08 UTC
Size:
991 bytes
patch
obsolete
>From 04f52dbe5c79ab3315dfc08d700d8b9082303eba Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 21 Oct 2011 10:23:30 -0400 >Subject: [PATCH] Fix for Bug 7075 - Fine in days triggered for patrons with past overdues when fine in days is set to 0 >Content-Type: text/plain; charset="utf-8" > >Changes "WHERE finedays IS NOT NULL" to "WHERE finedays > 0" in order >to accomodate 0 values in issuingrules.finedays. >--- > C4/Members.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Members.pm b/C4/Members.pm >index 56718f0..c0165c6 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -639,7 +639,7 @@ sub IsMemberBlocked { > LEFT JOIN issuingrules ON (issuingrules.itemtype=biblioitems.itemtype) }; > } > $strsth.= >- qq{ WHERE finedays IS NOT NULL >+ qq{ WHERE finedays > 0 > AND date_due < returndate > AND borrowernumber = ? > ORDER BY blockingdate DESC, blockedcount DESC >-- >1.7.3 >
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 7075
:
6016
|
6169