From 0c921537db5f83d2acd1e08c4c5a548cf80a5ea0 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' Signed-off-by: David Nind --- 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 0e9602094b4..5e6544bbb40 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