There is an issue where if a hold only finds items at the local
pickup library that are potential hold copies, it would ignore
the closed at pickup lib. This should force that setting to be
checked no matter what.
Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
sub filter_closed_date_copies {
my $self = shift;
- # Pre-fetch the org setting value for all represented circ libs that
- # are closed, minuse the pickup_lib, since it has its own special setting.
+ # Pre-fetch the org setting value for all represented circ libs that are closed
my $circ_libs = $self->get_copy_circ_libs;
$circ_libs = [
- grep {
- $self->parent->{closed_orgs}->{$_} &&
- $_ ne $self->hold->pickup_lib
- } @$circ_libs
+ grep {$self->parent->{closed_orgs}->{$_}} @$circ_libs
];
# If none of the represented circ libs are closed, we're done here.