Changed so that the presence of an on-order item (items.notforloan =- -1)
permits a title-level hold request to be made. Prior to this patch,
if all of the items linked to the bib were on-order, no title-level
request was permitted.
---
opac/opac-reserve.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl
index 30342a1..0443ad9 100755
--- a/opac/opac-reserve.pl
+++ b/opac/opac-reserve.pl
@@ -189,7 +189,7 @@ foreach my $itm (@items) {
}
}
$itemhash{$itm->{'itemnumber'}}=$itm;
- if (!$itm->{'notforloan'} && !$itm->{'itemnotforloan'}){
+ if (!$itm->{'notforloan'} && !($itm->{'itemnotforloan'} > 0)){
$forloan=1;
}
}
--
1.5.5.GIT
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches