From ddd45e2e7ef9af8bc4d8d9fa834e677a08bd3e1f Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Sun, 15 Jul 2012 09:55:30 -0400 Subject: [PATCH] Bug 6720 follow-up: use authtypetext instead of summary Content-Type: text/plain; charset="UTF-8" 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. --- C4/AuthoritiesMarc.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index f209ab1..ece46a3 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -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; -- 1.7.2.5