Bugzilla – Attachment 190908 Details for
Bug 39934
Standard backend shows attributes from previously "migrated from" backends
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39934: Only fetch attributes from 'Standard'
Bug-39934-Only-fetch-attributes-from-Standard.patch (text/plain), 951 bytes, created by
David Nind
on 2026-01-05 18:56:47 UTC
(
hide
)
Description:
Bug 39934: Only fetch attributes from 'Standard'
Filename:
MIME Type:
Creator:
David Nind
Created:
2026-01-05 18:56:47 UTC
Size:
951 bytes
patch
obsolete
>From 6d148c4ef76e1fed46c99b7adb373d1c4c27f5a1 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Fri, 16 May 2025 16:07:12 +0000 >Subject: [PATCH] Bug 39934: Only fetch attributes from 'Standard' > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39934
:
182581
|
182582
|
182583
|
190887
|
190888
|
190889
| 190908 |
190909
|
190910