bug 2341: OPAC title-level holds permitted when items are on-order
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. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
20c397cd38
commit
6c168bf22b
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue