From c9b55a4f421d1aefb7f129ba4cf039ed2d159594 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Fri, 15 Jun 2012 10:07:22 -0400 Subject: [PATCH] [3.8.x] Bug 7943 follow-up: Fix template filename Content-Type: text/plain; charset="UTF-8" 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 --- opac/opac-authoritiesdetail.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opac/opac-authoritiesdetail.pl b/opac/opac-authoritiesdetail.pl index 41b994f..2884373 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 ), -- 1.7.2.5