Checking out a hold-captured item for a hold whose expire time is in the
past, but has not yet been canceled by the hold targeter, now marks the
hold as fulfilled.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
my $hold = $e->search_action_hold_request({
current_copy => $copy->id ,
cancel_time => undef,
- fulfillment_time => undef,
- '-or' => [
- {expire_time => undef},
- {expire_time => {'>' => 'now'}}
- ]
+ fulfillment_time => undef
})->[0];
if($hold and $hold->usr != $patron->id) {