Bugzilla – Attachment 144857 Details for
Bug 28639
Embed see-from headings (from authorities) into bibliographic records at OAI repository level
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28639: (follow-up) Changes method to embed see-from headings
Bug-28639-follow-up-Changes-method-to-embed-see-fr.patch (text/plain), 1.35 KB, created by
Thibaud Guillot (thibaud_g)
on 2022-12-28 09:05:28 UTC
(
hide
)
Description:
Bug 28639: (follow-up) Changes method to embed see-from headings
Filename:
MIME Type:
Creator:
Thibaud Guillot (thibaud_g)
Created:
2022-12-28 09:05:28 UTC
Size:
1.35 KB
patch
obsolete
>From 78e422b24acd82da021029a753ff1d299536f719 Mon Sep 17 00:00:00 2001 >From: Thibaud Guillot <thibaud.guillot@biblibre.com> >Date: Wed, 28 Dec 2022 10:00:47 +0100 >Subject: [PATCH] Bug 28639: (follow-up) Changes method to embed see-from > headings > >To have same code syntax call of Koha::RecordProcessor class >--- > Koha/OAI/Server/Repository.pm | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/Koha/OAI/Server/Repository.pm b/Koha/OAI/Server/Repository.pm >index b5f9169cec..ac7de331f0 100644 >--- a/Koha/OAI/Server/Repository.pm >+++ b/Koha/OAI/Server/Repository.pm >@@ -39,7 +39,6 @@ use C4::Context; > use C4::Biblio qw( GetFrameworkCode ); > use Koha::XSLT::Base; > use Koha::Biblios; >-use Koha::Filter::MARC::EmbedSeeFromHeadings; > > =head1 NAME > >@@ -182,7 +181,12 @@ sub get_biblio_marcxml { > my $biblio = Koha::Biblios->find($biblionumber); > my $record = $biblio->metadata->record({ embed_items => $with_items, opac => 1 }); > if ( $embedseefromheadings ) { >- Koha::Filter::MARC::EmbedSeeFromHeadings->filter($record); >+ my $record_processor = Koha::RecordProcessor->new( >+ { >+ filters => [ 'EmbedSeeFromHeadings' ], >+ } >+ ); >+ $record_processor->process($record); > } > if ( $expanded_avs ) { > my $frameworkcode = GetFrameworkCode($biblionumber) || ''; >-- >2.25.1
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 28639
:
122500
|
142296
|
142297
|
144821
|
144822
|
144857
|
171973
|
171974
|
171975