Lines 949-955
sub get_marc_notes {
Link Here
|
949 |
|
949 |
|
950 |
my %hiddenlist = map { $_ => 1 } |
950 |
my %hiddenlist = map { $_ => 1 } |
951 |
split( /,/, C4::Context->preference('NotesToHide')); |
951 |
split( /,/, C4::Context->preference('NotesToHide')); |
952 |
my $record = $self->metadata->record; |
952 |
my $record = $params->{record} // $self->metadata->record; |
953 |
$record = transformMARCXML4XSLT( $self->biblionumber, $record, $opac ); |
953 |
$record = transformMARCXML4XSLT( $self->biblionumber, $record, $opac ); |
954 |
|
954 |
|
955 |
foreach my $field ( $record->field($scope) ) { |
955 |
foreach my $field ( $record->field($scope) ) { |