Bug 6720 follow-up: use authtypetext instead of summary
Although auth_types.summary contains a string describing the type of authority in MARC21, it does not in UNIMARC. auth_types.authtypetext contains the proper label in both marcflavours. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
ca7fa487c6
commit
049d13e24d
1 changed files with 2 additions and 2 deletions
|
@ -353,8 +353,8 @@ sub SearchAuthorities {
|
|||
}
|
||||
my $thisauthtype = GetAuthType(GetAuthTypeCode($authid));
|
||||
$newline{authtype} = defined ($thisauthtype) ?
|
||||
$thisauthtype->{'summary'} :
|
||||
GetAuthType($authtypecode)->{'summary'};
|
||||
$thisauthtype->{'authtypetext'} :
|
||||
GetAuthType($authtypecode)->{'authtypetext'};
|
||||
$newline{summary} = $summary;
|
||||
$newline{even} = $counter % 2;
|
||||
$newline{reported_tag} = $reported_tag;
|
||||
|
|
Loading…
Reference in a new issue