Reimplemented fix for bug 5556, OPAC does not display the type of authority

Formatting Janusz's suggested changes as a patch.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2010-12-30 12:07:11 -05:00 committed by Chris Cormack
parent 6a61750bf0
commit 4e1f49097c
2 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@
<td><a href="opac-authoritiesdetail.pl?authid=<!-- TMPL_VAR NAME="authid" -->"><!-- TMPL_VAR NAME="summary" --></a></td>
<td>
<!-- TMPL_VAR NAME="authtype" -->
<!-- TMPL_VAR NAME="authtypetext" -->
</td>
<!-- TMPL_UNLESS name="isEDITORS" -->
<td>

View File

@ -141,6 +141,7 @@ if ( $op eq "do_search" ) {
to => $to,
numbers => \@numbers,
authtypecode => $authtypecode,
authtypetext => $authtypes->{$authtypecode}{'authtypetext'},
isEDITORS => $authtypecode eq 'EDITORS',
);