Bugzilla – Attachment 50808 Details for
Bug 15534
Add the ability to prevent a patron from placing a hold on a record with available items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15534 [QA Followup] - Use IsItemOnHoldAndFound instead of GetReserveStatus
Bug-15534-QA-Followup---Use-IsItemOnHoldAndFound-i.patch (text/plain), 908 bytes, created by
Kyle M Hall (khall)
on 2016-04-27 14:16:35 UTC
(
hide
)
Description:
Bug 15534 [QA Followup] - Use IsItemOnHoldAndFound instead of GetReserveStatus
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-04-27 14:16:35 UTC
Size:
908 bytes
patch
obsolete
>From b64c6514e2ab2ffb31ef9e3da87059c230764ea7 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 27 Apr 2016 13:31:13 +0000 >Subject: [PATCH] Bug 15534 [QA Followup] - Use IsItemOnHoldAndFound instead of > GetReserveStatus > >--- > C4/Reserves.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index e5168eb..bc0c1b9 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -1509,7 +1509,7 @@ sub IsAvailableForItemLevelRequest { > || $i->{notforloan} > 0 > || $i->withdrawn > || $i->onloan >- || GetReserveStatus( $i->id ) eq "Waiting" >+ || IsItemOnHoldAndFound( $i->id ) > || ( $i->damaged > && !C4::Context->preference('AllowHoldsOnDamagedItems') ) > || Koha::ItemTypes->find( $i->effective_itemtype() )->notforloan; >-- >2.1.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 15534
:
46463
|
48039
|
48764
|
49223
|
49406
|
50326
|
50389
|
50390
|
50802
|
50804
|
50805
|
50806
|
50807
|
50808
|
50809
|
50813
|
50824
|
50825
|
50826
|
50827