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

(-)a/Koha/REST/Plugin/Objects.pm (-1 / +2 lines)
Lines 290-295 controller, and thus shouldn't be called twice in it. Link Here
290
            $c->stash('koha.pagination.base_total'   => $result_set->count);
290
            $c->stash('koha.pagination.base_total'   => $result_set->count);
291
            $c->stash('koha.pagination.query_params' => $args);
291
            $c->stash('koha.pagination.query_params' => $args);
292
292
293
            $c->dbic_validate_operators( { filtered_params => $filtered_params } );
294
293
            # Generate the resultset
295
            # Generate the resultset
294
            my $objects_rs = $result_set->search( $filtered_params, $attributes );
296
            my $objects_rs = $result_set->search( $filtered_params, $attributes );
295
            # Stash the page total if requires, total otherwise
297
            # Stash the page total if requires, total otherwise
296
- 

Return to bug 37018