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

(-)a/Koha/REST/Plugin/Objects.pm (-2 / +1 lines)
Lines 157-164 controller, and thus shouldn't be called twice in it. Link Here
157
            $query_fixers //= [];
157
            $query_fixers //= [];
158
158
159
            # Extract reserved params
159
            # Extract reserved params
160
            my ( $filtered_params, $reserved_params, $path_params ) =
160
            my ( $filtered_params, $reserved_params ) = $c->extract_reserved_params($args);
161
              $c->extract_reserved_params($args);
162
161
163
            if ( exists $reserved_params->{_order_by} ) {
162
            if ( exists $reserved_params->{_order_by} ) {
164
163
(-)a/Koha/REST/V1/Acquisitions/Orders.pm (-3 / +4 lines)
Lines 46-53 sub list { Link Here
46
46
47
    return try {
47
    return try {
48
48
49
        my $only_active = delete $c->validation->output->{only_active};
49
        my $only_active = $c->param('only_active');
50
        my $order_id    = delete $c->validation->output->{order_id};
50
        my $order_id    = $c->param('order_id');
51
52
        $c->req->params->remove('only_active')->remove('order_id');
51
53
52
        my $orders_rs;
54
        my $orders_rs;
53
55
54
- 

Return to bug 33556