Bug 17153: Redirect to search when logging in from search
authorLee Jamison <ldjamison@marywood.edu>
Wed, 30 May 2018 00:26:56 +0000 (00:26 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 29 Jun 2018 20:49:51 +0000 (20:49 +0000)
commitfa25c45ffcd2a654a258cacc133b51c60cf5ae92
tree8c3ddec920ea2af4dc600344fb74591961728506
parent452c962b6e8631119d53ae776446d46b2c584f53
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 <maryse.simard@inlibro.com>
Followed the test plan and the patch works.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
koha-tmpl/opac-tmpl/bootstrap/js/authtoresults.js [new file with mode: 0644]
opac/opac-user.pl