Lines 150-155
for API rendering.
Link Here
|
150 |
|
150 |
|
151 |
$filtered_params = $c->merge_q_params( $filtered_params, $query_params, $result_set ); |
151 |
$filtered_params = $c->merge_q_params( $filtered_params, $query_params, $result_set ); |
152 |
} |
152 |
} |
|
|
153 |
|
154 |
# If search_limited exists, use it |
155 |
$result_set = $result_set->search_limited, |
156 |
if $result_set->can('search_limited'); |
157 |
|
153 |
# Perform search |
158 |
# Perform search |
154 |
my $objects = $result_set->search( $filtered_params, $attributes ); |
159 |
my $objects = $result_set->search( $filtered_params, $attributes ); |
155 |
my $total = $result_set->search->count; |
160 |
my $total = $result_set->search->count; |
156 |
- |
|
|