From b231001f3aab6221d1d0dba293b2bf7e63138145 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 16 Jul 2025 18:45:54 +0100 Subject: [PATCH] Bug 40417: Remove 'validation' method --- Koha/REST/Plugin/Objects.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/REST/Plugin/Objects.pm b/Koha/REST/Plugin/Objects.pm index 486509abe71..986d1c48300 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 //= []; -- 2.48.1