From 10375e6cb9585e0df17b2b6945850570ffc8fee5 Mon Sep 17 00:00:00 2001 From: Andreas Jonsson Date: Thu, 23 Nov 2023 21:05:16 +0100 Subject: [PATCH] Bug 35361: Replace prefetch with join in REST API. --- Koha/REST/Plugin/Query.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/REST/Plugin/Query.pm b/Koha/REST/Plugin/Query.pm index 7aa092fae2..79205371ae 100644 --- a/Koha/REST/Plugin/Query.pm +++ b/Koha/REST/Plugin/Query.pm @@ -154,7 +154,7 @@ Generates the DBIC prefetch attribute based on embedded relations, and merges in } if(scalar(@prefetches)) { - $attributes->{prefetch} = \@prefetches; + $attributes->{join} = \@prefetches; } } ); -- 2.30.2