From 049d13e24d00a6a5b1ae02ed2db6386a7f214871 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 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 --- C4/AuthoritiesMarc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index f209ab18b4..ece46a33f0 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; -- 2.39.5