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

(-)a/Koha/REST/V1/Auth.pm (-1 / +3 lines)
Lines 358-363 sub validate_query_parameters { Link Here
358
        push @errors, { path => "/query/" . $param, message => 'Malformed query string' } unless exists $valid_parameters{$param};
358
        push @errors, { path => "/query/" . $param, message => 'Malformed query string' } unless exists $valid_parameters{$param};
359
    }
359
    }
360
360
361
    push @errors, { path => "/query/_per_page", message => 'Invalid value: 0' }
362
        if exists $existing_params->{_per_page} && $existing_params->{_per_page} == 0;
363
361
    Koha::Exceptions::BadParameter->throw(
364
    Koha::Exceptions::BadParameter->throw(
362
        error => \@errors
365
        error => \@errors
363
    ) if @errors;
366
    ) if @errors;
364
- 

Return to bug 35129