diff --git a/Koha/REST/Plugin/Objects.pm b/Koha/REST/Plugin/Objects.pm index 59bede9a86..36f33cecea 100644 --- a/Koha/REST/Plugin/Objects.pm +++ b/Koha/REST/Plugin/Objects.pm @@ -156,7 +156,7 @@ controller, and thus shouldn't be called twice in it. 'objects.search_rs' => sub { my ( $c, $result_set, $query_fixers ) = @_; - my $args = $c->validation->output; + my $args = $c->req->params->to_hash; my $attributes = {}; $query_fixers //= [];