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

(-)a/Koha/REST/V1/Holds.pm (-3 lines)
Lines 445-452 sub pickup_locations { Link Here
445
    my $c = shift->openapi->valid_input or return;
445
    my $c = shift->openapi->valid_input or return;
446
446
447
    my $hold_id = $c->validation->param('hold_id');
447
    my $hold_id = $c->validation->param('hold_id');
448
    # FIXME: We should really skip the path params in $c->objects->search
449
    delete $c->validation->output->{hold_id};
450
    my $hold = Koha::Holds->find( $hold_id, { prefetch => [ 'patron' ] } );
448
    my $hold = Koha::Holds->find( $hold_id, { prefetch => [ 'patron' ] } );
451
449
452
    unless ($hold) {
450
    unless ($hold) {
453
- 

Return to bug 27034