notforloan => 0,
-not => { itemnumber => $itemnumber } })->as_list;
return ( 0, "on_reserve" ) if scalar @other_items < scalar @possible_holds;
return ( 0, "on_reserve" ) if @possible_holds && (scalar @other_items < scalar @possible_holds);
my %matched_items;
foreach my $possible_hold (@possible_holds) {
-