Bugzilla – Attachment 14278 Details for
Bug 9320
Pending reserves is showing reserves already waiting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
BZ 9320 : Pending reserves report (circ/pendingreserves.pl) should not show items on hold waiting to be picked up
BZ-9320--Pending-reserves-report-circpendingreserv.patch (text/plain), 1.32 KB, created by
Chris Cormack
on 2012-12-26 20:19:56 UTC
(
hide
)
Description:
BZ 9320 : Pending reserves report (circ/pendingreserves.pl) should not show items on hold waiting to be picked up
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-12-26 20:19:56 UTC
Size:
1.32 KB
patch
obsolete
>From 3323668f945ecb427e6cfd5d60e760885f94101e Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Wed, 26 Dec 2012 17:36:45 +0100 >Subject: [PATCH] BZ 9320 : Pending reserves report (circ/pendingreserves.pl) > should not show items on hold waiting to be picked up > > Test plan : * chose an item reserved by multiple patrons. > * return the item and confirm reservation => item is waiting to be picked up > * run circ/pendingreserves.pl > => without patch, this item is shown in the list > => with the patch, only really available items are show. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > circ/pendingreserves.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl >index e532faf..0893396 100755 >--- a/circ/pendingreserves.pl >+++ b/circ/pendingreserves.pl >@@ -141,6 +141,7 @@ if ( $run_report ) { > $sqldatewhere > AND (reserves.itemnumber IS NULL OR reserves.itemnumber = items.itemnumber) > AND items.itemnumber NOT IN (SELECT itemnumber FROM branchtransfers where datearrived IS NULL) >+ AND items.itemnumber NOT IN (select itemnumber FROM reserves where found='W') > AND issues.itemnumber IS NULL > AND reserves.priority <> 0 > AND reserves.suspend = 0 >-- >1.7.10.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 9320
:
14274
|
14278
|
14295
|
15161