[Koha-bugs] [Bug 27058] Cannot place hold to ordered item when on shelf holds are not allowed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 5 14:16:47 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27058
--- Comment #28 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
1361 sub ItemsAnyAvailableAndNotRestricted {
1373 # we can return (end the loop) when first one found:
1374 return 1
1375 unless $i->itemlost
1376 || $i->notforloan
1377 || $i->withdrawn
1378 || $i->onloan
1296 sub IsAvailableForItemLevelRequest {
1312 return 0 if
1313 $notforloan_per_itemtype ||
1314 $item->itemlost ||
1315 $item->notforloan > 0 ||
1316 $item->withdrawn ||
The different between the 2 $item->notforloan tests are obvious here?
Especially with that in the history:
commit 87a8103c488961a8508f9b5b32fa165bc47301e5
Date: Thu Jul 10 16:38:28 2008 -0400
Further update to allow notforloan < 0 items to be placed on hold. This is
a workaround for the lack of a notforhold flag.
- $item->{notforloan} or
+ ( $item->{notforloan} > 0 ) or
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list