Lines 913-919
sub cover_images {
Link Here
|
913 |
|
913 |
|
914 |
=head3 get_marc_notes |
914 |
=head3 get_marc_notes |
915 |
|
915 |
|
916 |
$marcnotesarray = $biblio->get_marc_notes({ opac => 1 }); |
916 |
$marcnotesarray = $biblio->get_marc_notes({ opac => 1, [ record => $marc ] }); |
917 |
|
917 |
|
918 |
Get all notes from the MARC record and returns them in an array. |
918 |
Get all notes from the MARC record and returns them in an array. |
919 |
The notes are stored in different fields depending on MARC flavour. |
919 |
The notes are stored in different fields depending on MARC flavour. |
Lines 928-934
sub get_marc_notes {
Link Here
|
928 |
my $opac = $params->{opac} // '0'; |
928 |
my $opac = $params->{opac} // '0'; |
929 |
my $interface = $params->{opac} ? 'opac' : 'intranet'; |
929 |
my $interface = $params->{opac} ? 'opac' : 'intranet'; |
930 |
|
930 |
|
931 |
my $record = $self->metadata->record; |
931 |
my $record = $params->{record} // $self->metadata->record; |
932 |
my $record_processor = Koha::RecordProcessor->new( |
932 |
my $record_processor = Koha::RecordProcessor->new( |
933 |
{ |
933 |
{ |
934 |
filters => [ 'ViewPolicy', 'ExpandCodedFields' ], |
934 |
filters => [ 'ViewPolicy', 'ExpandCodedFields' ], |