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

(-)a/Koha/REST/Plugin/Objects.pm (-1 / +5 lines)
Lines 152-157 for API rendering. Link Here
152
152
153
                $filtered_params = $c->merge_q_params( $filtered_params, $query_params, $result_set );
153
                $filtered_params = $c->merge_q_params( $filtered_params, $query_params, $result_set );
154
            }
154
            }
155
156
            # If search_limited exists, use it
157
            $result_set = $result_set->search_limited,
158
                if $result_set->can('search_limited');
159
155
            # Perform search
160
            # Perform search
156
            my $objects = $result_set->search( $filtered_params, $attributes );
161
            my $objects = $result_set->search( $filtered_params, $attributes );
157
            my $total   = $result_set->search->count;
162
            my $total   = $result_set->search->count;
158
- 

Return to bug 29506