Bug 6720: show authority type in auth details
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 15 Jun 2012 14:40:59 +0000 (10:40 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 20 Jun 2012 08:15:22 +0000 (10:15 +0200)
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Authority type on detail page in staff now shows correctly.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
authorities/detail.pl

index d4f2c67..a7d7d8f 100755 (executable)
@@ -172,8 +172,7 @@ my ($template, $loggedinuser, $cookie)
 
 my $authid = $query->param('authid');
 
-# Using default authtypecode, so all fields are seen
-my $authtypecode = '';
+my $authtypecode = GetAuthTypeCode($authid);
 $tagslib = &GetTagsLabels(1,$authtypecode);
 
 # Build list of authtypes for showing them