Bugzilla – Attachment 54657 Details for
Bug 17153
Logging in during a search navigates to account page instead of back to search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Forces redirect to search results after logging in on opac-search.pl
0001-Bug-17153-Logging-in-from-catalog-or-EDS-search-redi.patch (text/plain), 1.13 KB, created by
Lee Jamison
on 2016-08-19 19:36:54 UTC
(
hide
)
Description:
Forces redirect to search results after logging in on opac-search.pl
Filename:
MIME Type:
Creator:
Lee Jamison
Created:
2016-08-19 19:36:54 UTC
Size:
1.13 KB
patch
obsolete
>From 5e7124f340ffd61a85fe7aa3758c591d670183c4 Mon Sep 17 00:00:00 2001 >From: Lee Jamison <ldjamison@marywood.edu> >Date: Fri, 19 Aug 2016 15:26:57 -0400 >Subject: [PATCH] Bug 17153: Logging in from catalog or EDS search redirects > back to results > >--- > opac/opac-user.pl | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index 8f23a3f..e2ab387 100755 >--- a/opac/opac-user.pl >+++ b/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 ); > } >\ No newline at end of file >-- >2.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17153
:
54657
|
54715
|
54719
|
54782
|
57549
|
57550
|
75714
|
75933
|
76429
|
76430