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

(-)a/Koha/REST/Plugin/Objects.pm (-1 / +5 lines)
Lines 69-74 sub register { Link Here
69
            $reserved_params->{_per_page} //= C4::Context->preference('RESTdefaultPageSize');
69
            $reserved_params->{_per_page} //= C4::Context->preference('RESTdefaultPageSize');
70
            $reserved_params->{_page}     //= 1;
70
            $reserved_params->{_page}     //= 1;
71
71
72
            if ( $reserved_params->{_per_page} == -1 ) {
73
                delete $reserved_params->{_per_page};
74
                delete $reserved_params->{_page};
75
            }
76
72
            # Merge pagination into query attributes
77
            # Merge pagination into query attributes
73
            $c->dbic_merge_pagination(
78
            $c->dbic_merge_pagination(
74
                {
79
                {
75
- 

Return to bug 25570