Bugzilla – Attachment 8101 Details for
Bug 7408
Expire holds that have been waiting too long
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7408 - Don't cancel found reserves.
Bug-7408---Dont-cancel-found-reserves.patch (text/plain), 1.02 KB, created by
Kyle M Hall
on 2012-03-08 19:49:04 UTC
(
hide
)
Description:
Bug 7408 - Don't cancel found reserves.
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-03-08 19:49:04 UTC
Size:
1.02 KB
patch
obsolete
>From 055124da87c15aa04f0a4393f0007aae8832c768 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 8 Mar 2012 14:45:56 -0500 >Subject: [PATCH] Bug 7408 - Don't cancel found reserves. > >At the moment, a reserve will be canceled if it has passed its >expiration date, even if the item is waiting or in the process >of being transferred. The situation could arise where someone >has a hold filled, but it is canceled while in transit, or before >the borrower can pick it up. >--- > C4/Reserves.pm | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index 635b3ad..7e300a8 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -864,7 +864,8 @@ sub CancelExpiredReserves { > my $dbh = C4::Context->dbh; > my $sth = $dbh->prepare( " > SELECT * FROM reserves WHERE DATE(expirationdate) < DATE( CURDATE() ) >- AND expirationdate IS NOT NULL >+ AND expirationdate IS NOT NULL >+ AND found IS NULL > " ); > $sth->execute(); > >-- >1.7.2.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 7408
:
7357
|
7838
|
7839
|
7840
|
7841
|
7856
|
8022
|
8101
|
8241
|
8242
|
8323
|
8325