Bug 41943

Summary: Purchase suggestion URL truncated when not logged in
Product: Koha Reporter: David Roberts <david.roberts>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: 25.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Roberts 2026-02-26 10:14:03 UTC
If you use this URL to log a purchase suggestion when not logged in:
/cgi-bin/koha/opac-suggestions.pl?op=add_form
you get taken to a login screen and after logging in the URL loses the ?op=add_form part of the URL which means the page you are taken to doesn't allow the addition of a new suggestion. 

To reproduce:

1) On the OPAC while not logged in
2) Go to ..../cgi-bin/koha/opac-suggestions.pl?op=add_form
3) Log in
4) The resulting page is ..../cgi-bin/koha/opac-suggestions.pl which doesn't allow the addition on a new suggestion