From 4cc49c9914f3082cc03b6e249600ff1dc8a81c33 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Fri, 25 Jan 2008 15:04:30 -0600 Subject: [PATCH] Displaying functions for UNIMARC authors instead of function code Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Biblio.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index e992df91d6..115651a6b9 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -995,11 +995,12 @@ sub GetMarcAuthors { } else { # reset $linkvalue if UNIMARC author responsibility - if ( $marcflavour eq 'UNIMARC' and ($authors_subfield->[0] eq '4')) { + if ( $marcflavour eq 'UNIMARC' and ($authors_subfield->[0] eq "4")) { $linkvalue = "(".GetAuthorisedValueDesc( $field->tag(), $authors_subfield->[0], $authors_subfield->[1], '', $tagslib ).")"; } push @link_loop, {'limit' => 'au', link => $linkvalue, operator => $operator }; } + $value = GetAuthorisedValueDesc( $field->tag(), $authors_subfield->[0], $authors_subfield->[1], '', $tagslib ) if ( $marcflavour eq 'UNIMARC' and ($authors_subfield->[0] =~/4/)); my @this_link_loop = @link_loop; my $separator = C4::Context->preference("authoritysep") unless $count_auth==0; push @subfields_loop, {code => $subfieldcode, value => $value, link_loop => \@this_link_loop, separator => $separator} unless ($authors_subfield->[0] == 9 ); -- 2.39.5