From 0eeedd9d2b3590cb25014dfc1e957d7ca8901b7e Mon Sep 17 00:00:00 2001 From: Lee Jamison Date: Wed, 30 May 2018 00:26:56 +0000 Subject: [PATCH] Bug 17153: Login during search rebase and fix 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. --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 1 + koha-tmpl/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 97b9d22..82edf6a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -298,6 +298,7 @@

Log in to your account

+