Bugzilla – Attachment 68183 Details for
Bug 13572
Add not-expired parameter to borrowers-force-messaging-defaults script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13572: Patrons are still active if their expiry date is today
Bug-13572-Patrons-are-still-active-if-their-expiry.patch (text/plain), 987 bytes, created by
Jonathan Druart
on 2017-10-16 15:01:35 UTC
(
hide
)
Description:
Bug 13572: Patrons are still active if their expiry date is today
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-10-16 15:01:35 UTC
Size:
987 bytes
patch
obsolete
>From b91f6ced43e963cea38da54ad1c3502143fe62c2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 16 Oct 2017 11:59:10 -0300 >Subject: [PATCH] Bug 13572: Patrons are still active if their expiry date is > today > >--- > misc/maintenance/borrowers-force-messaging-defaults | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/maintenance/borrowers-force-messaging-defaults b/misc/maintenance/borrowers-force-messaging-defaults >index d00597bfa2..079e68d195 100755 >--- a/misc/maintenance/borrowers-force-messaging-defaults >+++ b/misc/maintenance/borrowers-force-messaging-defaults >@@ -56,7 +56,7 @@ sub force_borrower_messaging_defaults { > > my $sql = "SELECT borrowernumber, categorycode FROM borrowers WHERE dateenrolled >= ?"; > if ($not_expired) { >- $sql .= " AND dateexpiry > NOW()" >+ $sql .= " AND dateexpiry >= NOW()" > } > my $sth = $dbh->prepare($sql); > $sth->execute($since); >-- >2.11.0
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 13572
:
35164
|
41235
|
46179
|
46180
|
58206
|
67959
|
67960
|
67961
|
68059
|
68060
|
68061
| 68183