Bug 37045

Summary: Redirect to login page or modal when adding a title to a list
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: philippe.blouin
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Caroline Cyr La Rose 2024-06-06 15:41:46 UTC
In the OPAC, if you're not logged in and try to create a list from the search results, there is only a browser alert saying you need to be logged in. It would be helpful to the patron if they were redirected to the login page, or if a login modal popped up so they can log in and create their list.

To recreate:
1. Make sure you are not logged into the OPAC
2. Search for a term broad enough to get you some results (e.g. shakespeare)
3. Select one or more results and choose the "[New list]" option from the "With selected titles:" dropdown 
--> You get a browser alert saying you must be logged in

To compare:
4. Click Lists > Log in to create your own lists
--> You are redirected to the login page