Lines 138-146
Return holds attached to an item, optionally accept a hashref of params to pass
Link Here
|
138 |
|
138 |
|
139 |
sub holds { |
139 |
sub holds { |
140 |
my ( $self,$params ) = @_; |
140 |
my ( $self,$params ) = @_; |
141 |
my $transfer_rs = $self->_result->reserves->search($params); |
141 |
my $holds_rs = $self->_result->reserves->search($params); |
142 |
return unless $transfer_rs->count; |
142 |
return unless $holds_rs->count; |
143 |
return Koha::Holds->_new_from_dbic( $transfer_rs ); |
143 |
return Koha::Holds->_new_from_dbic( $holds_rs ); |
144 |
} |
144 |
} |
145 |
|
145 |
|
146 |
=head3 get_transfer |
146 |
=head3 get_transfer |
147 |
- |
|
|