From 6d148c4ef76e1fed46c99b7adb373d1c4c27f5a1 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 3a361e926b..f29b72046a 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