projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fd8911
)
Bug 15534 [QA Followup] - Use IsItemOnHoldAndFound instead of GetReserveStatus
author
Kyle M Hall
<kyle@bywatersolutions.com>
Wed, 27 Apr 2016 13:31:13 +0000
(13:31 +0000)
committer
Kyle M Hall
<kyle@bywatersolutions.com>
Fri, 29 Apr 2016 10:35:06 +0000
(10:35 +0000)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Reserves.pm
patch
|
blob
|
history
diff --git
a/C4/Reserves.pm
b/C4/Reserves.pm
index
4823f53
..
58cfdbf
100644
(file)
--- a/
C4/Reserves.pm
+++ b/
C4/Reserves.pm
@@
-1516,7
+1516,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;