Lines 39-45
use C4::Context;
Link Here
|
39 |
use C4::Biblio qw( GetFrameworkCode ); |
39 |
use C4::Biblio qw( GetFrameworkCode ); |
40 |
use Koha::XSLT::Base; |
40 |
use Koha::XSLT::Base; |
41 |
use Koha::Biblios; |
41 |
use Koha::Biblios; |
42 |
use Koha::Filter::MARC::EmbedSeeFromHeadings; |
|
|
43 |
|
42 |
|
44 |
=head1 NAME |
43 |
=head1 NAME |
45 |
|
44 |
|
Lines 182-188
sub get_biblio_marcxml {
Link Here
|
182 |
my $biblio = Koha::Biblios->find($biblionumber); |
181 |
my $biblio = Koha::Biblios->find($biblionumber); |
183 |
my $record = $biblio->metadata->record({ embed_items => $with_items, opac => 1 }); |
182 |
my $record = $biblio->metadata->record({ embed_items => $with_items, opac => 1 }); |
184 |
if ( $embedseefromheadings ) { |
183 |
if ( $embedseefromheadings ) { |
185 |
Koha::Filter::MARC::EmbedSeeFromHeadings->filter($record); |
184 |
my $record_processor = Koha::RecordProcessor->new( |
|
|
185 |
{ |
186 |
filters => [ 'EmbedSeeFromHeadings' ], |
187 |
} |
188 |
); |
189 |
$record_processor->process($record); |
186 |
} |
190 |
} |
187 |
if ( $expanded_avs ) { |
191 |
if ( $expanded_avs ) { |
188 |
my $frameworkcode = GetFrameworkCode($biblionumber) || ''; |
192 |
my $frameworkcode = GetFrameworkCode($biblionumber) || ''; |
189 |
- |
|
|