From 708fed22652af1a9ebf48174a67669563a73ec5f Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Fri, 15 Jun 2012 10:07:22 -0400 Subject: [PATCH] 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 Signed-off-by: Paul Poulain Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack --- opac/opac-authoritiesdetail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-authoritiesdetail.pl b/opac/opac-authoritiesdetail.pl index 41b994fe93..2884373bdb 100755 --- a/opac/opac-authoritiesdetail.pl +++ b/opac/opac-authoritiesdetail.pl @@ -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 ), -- 2.39.5