From f8077a244593e781a2da53a3270475c8dcb8fdfa Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 16 May 2025 16:07:12 +0000 Subject: [PATCH] Bug 39934: Only fetch attributes from 'Standard' --- Koha/ILL/Backend/Standard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/ILL/Backend/Standard.pm b/Koha/ILL/Backend/Standard.pm index 3a361e926b8..f29b72046ab 100644 --- a/Koha/ILL/Backend/Standard.pm +++ b/Koha/ILL/Backend/Standard.pm @@ -152,7 +152,7 @@ sub metadata { ); # Use database-level filtering instead of manual iteration - my $attrs = $request->extended_attributes->search( { type => { '-not_in' => \@ignore } } ); + my $attrs = $request->extended_attributes->search( { type => { '-not_in' => \@ignore }, backend => $self->name } ); my $core_fields = _get_core_fields(); my $metadata = {}; -- 2.39.5