Lines 40-46
sub index_record {
Link Here
|
40 |
$record = GetAuthority( $id ) if $recordtype eq "authority"; |
40 |
$record = GetAuthority( $id ) if $recordtype eq "authority"; |
41 |
$record = GetMarcBiblio( $id ) if $recordtype eq "biblio"; |
41 |
$record = GetMarcBiblio( $id ) if $recordtype eq "biblio"; |
42 |
|
42 |
|
43 |
if ($record_type eq 'biblio' && C4::Context->preference('IncludeSeeFromInSearches')) { |
43 |
if ($recordtype eq 'biblio' && C4::Context->preference('IncludeSeeFromInSearches')) { |
44 |
my $normalizer = Koha::RecordProcessor->new( { filters => 'EmbedSeeFromHeadings' } ); |
44 |
my $normalizer = Koha::RecordProcessor->new( { filters => 'EmbedSeeFromHeadings' } ); |
45 |
$record = $normalizer->process($record); |
45 |
$record = $normalizer->process($record); |
46 |
} |
46 |
} |
47 |
- |
|
|