From fa25c45ffcd2a654a258cacc133b51c60cf5ae92 Mon Sep 17 00:00:00 2001 From: Lee Jamison Date: Wed, 30 May 2018 00:26:56 +0000 Subject: [PATCH] Bug 17153: Redirect to search when logging in from search This patch is a fresh attempt at redirecting back to search results after logging in on opac-search.pl To test: - Perform an OPAC search - Login on opac-search.pl with the search results displayed - The page is redirected to opac-user.pl - Log out - Apply the patch - Perform a new OPAC search - Note the URL query string - Login on opac-search.pl with the search results displayed - The opac-search.pl page should be displayed with the correct query string and the page should indicate a logged in status Signed-off-by: Maryse Simard Followed the test plan and the patch works. Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../opac-tmpl/bootstrap/en/includes/masthead.inc | 1 + .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 1 + koha-tmpl/opac-tmpl/bootstrap/js/authtoresults.js | 10 ++++++++++ opac/opac-user.pl | 12 ++++++++++++ 4 files changed, 24 insertions(+) create mode 100644 koha-tmpl/opac-tmpl/bootstrap/js/authtoresults.js diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 3ace3a48b8..15d185fe76 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -301,6 +301,7 @@

Log in to your account

+