From 8d8af66af2836ace8288448127629596f87b96c3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 21 May 2021 09:37:54 +0200 Subject: [PATCH] Bug 28388: Preserve "Browse results" when "view plain" is clicked "view plan" will hit opac-showmarc.pl and the "busc" containing the info will be removed from the session --- C4/Auth.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Auth.pm b/C4/Auth.pm index f281def2ce0..ff8f43c6918 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -546,6 +546,7 @@ sub get_template_and_user { && $in->{'template_name'} =~ /opac-(.+)\.(?:tt|tmpl)$/ ) { my $pagename = $1; unless ( $pagename =~ /^(?:MARC|ISBD)?detail$/ + or $pagename =~ /^showmarc$/ or $pagename =~ /^addbybiblionumber$/ or $pagename =~ /^review$/ ) { my $sessionSearch = get_session( $sessionID || $in->{'query'}->cookie("CGISESSID") ); -- 2.20.1