View | Details | Raw Unified | Return to bug 23413
Collapse All | Expand All

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

Return to bug 23413