Bug 7943 follow-up: Fix template filename

In preparation for some later work on authorities, the filename for the
OPAC authority viewer changed.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Jared Camins-Esakov 2012-06-15 10:07:22 -04:00 committed by Chris Cormack
parent e666a29698
commit 708fed2265
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ my $show_marc = $query->param('marc') || 1; # Currently only MARC view is availa
# open template
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
template_name => "opac-authoritiesdetail.tmpl",
template_name => $show_marc ? "opac-auth-MARCdetail.tt" : "opac-auth-detail.tt",
query => $query,
type => "opac",
authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),