Bug 21902 - OPAC login should redirect to referring page
Summary: OPAC login should redirect to referring page
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-28 15:37 UTC by Hugo Agud
Modified: 2020-01-06 20:14 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Agud 2018-11-28 15:37:49 UTC
Some services at koha request to be logged for example holds, suggestions, send email , add to lists... 

the issue is that once you're logged koha redirect the user to 'my account' and looses the previous page... for example the search, the record.. whatever.

It should be great to add a syspref to allow admin decide what happends after a login... if it keeps to the previous page or if it moves to my account
Comment 1 Alex Arnaud 2019-01-07 14:55:38 UTC
(In reply to Hugo Agud from comment #0)
> Some services at koha request to be logged for example holds, suggestions,
> send email , add to lists... 
> 
> the issue is that once you're logged koha redirect the user to 'my account'
> and looses the previous page... for example the search, the record..
> whatever.
> 
> It should be great to add a syspref to allow admin decide what happends
> after a login... if it keeps to the previous page or if it moves to my
> account

Hello Hugo,

That seems to work already, if i'm not wrong.
Please try this test plan:

- as anonymous user, make a search at the opac side,
- click "place hold" link on a document,
- Koha request you to be logged in,
- login,
- your redirected to the hold process page
Comment 2 Hugo Agud 2019-01-08 12:07:01 UTC
Hi

you are right!, for most uupdated versions it is already working...