Lines 941-947
sub get_marc_notes {
Link Here
|
941 |
|
941 |
|
942 |
my %hiddenlist = map { $_ => 1 } |
942 |
my %hiddenlist = map { $_ => 1 } |
943 |
split( /,/, C4::Context->preference('NotesToHide')); |
943 |
split( /,/, C4::Context->preference('NotesToHide')); |
944 |
my $record = $self->metadata->record; |
944 |
my $record = $params->{record} // $self->metadata->record; |
945 |
$record = transformMARCXML4XSLT( $self->biblionumber, $record, $opac ); |
945 |
$record = transformMARCXML4XSLT( $self->biblionumber, $record, $opac ); |
946 |
|
946 |
|
947 |
foreach my $field ( $record->field($scope) ) { |
947 |
foreach my $field ( $record->field($scope) ) { |