From f5974e278b7425917b34480bf3a90038d4ac66d2 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 --- 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