#
-# List of outstanding holds placed
+# List of available holds
#
sub hold_items {
my ($self, $start, $end, $ids_only) = @_;
syslog('LOG_DEBUG', 'OILS: Patron->hold_items()');
- # all of my open holds
+ # all of my available holds
my $holds = $self->{editor}->search_action_hold_request({
- usr => $self->{user}->id,
- fulfillment_time => undef,
- cancel_time => undef
+ usr => $self->{user}->id,
+ fulfillment_time => undef,
+ cancel_time => undef,
+ current_shelf_lib => {'=' => {'+ahr' => 'pickup_lib'}}
});
return $holds if $ids_only;