@@ -, +, @@ back to results --- opac/opac-user.pl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) --- a/opac/opac-user.pl +++ a/opac/opac-user.pl @@ -357,11 +357,9 @@ $template->param( ); -if ($ENV{HTTP_REFERER} =~ /opac-search.pl/ || $ENV{HTTP_REFERER} =~ /eds-search.pl/) { - #print redirect(referer()); - #print "Location: $ENV{HTTP_REFERER}\n\n"; - output_with_redirect($query, $ENV{HTTP_REFERER}, $cookie); +if ( !$ENV{HTTP_REFERER} =~ /opac-search.pl/ || !$ENV{HTTP_REFERER} =~ /eds-search.pl/ ) { + output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; } else { - output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; + output_with_redirect( $query, $ENV{HTTP_REFERER}, $cookie ); } --