Bugzilla – Attachment 50826 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]
[PASSED QA] Bug 15534 [QA Followup] - Use IsItemOnHoldAndFound instead of GetReserveStatus
PASSED-QA-Bug-15534-QA-Followup---Use-IsItemOnHold.patch (text/plain), 977 bytes, created by
Katrin Fischer
on 2016-04-27 16:04:09 UTC
(
hide
)
Description:
[PASSED QA] Bug 15534 [QA Followup] - Use IsItemOnHoldAndFound instead of GetReserveStatus
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-04-27 16:04:09 UTC
Size:
977 bytes
patch
obsolete
>From 683e59953a6af3002b7fe1a7d44a786517f41213 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] [PASSED QA] Bug 15534 [QA Followup] - Use > IsItemOnHoldAndFound instead of GetReserveStatus > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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; >-- >1.9.1
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