[Koha-bugs] [Bug 24345] Fix process of suggesting purchase of existing title for non-logged-in users
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Jan 5 22:14:29 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24345
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #96829|0 |1
is obsolete| |
--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 96830
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96830&action=edit
Bug 24345: Fix process of suggesting purchase of existing title for
non-logged-in users
The 'op' parameter is removed from the CGI object ($input) before
get_template_and_user is called. When the user is redirected to the
login form (from checkauth, called from get_template_and_user), the
op is lost.
Moving down the deletion fixes the problem.
Test plan:
Logout at the OPAC
Go the detail page of a bibliographic record
Click the "Suggest for purchase" link
Fill the login form
=> Without this patch you will see your suggestion list
=> With this patch applied the new suggestion form will be displayed,
prefilled with the biblio's info
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list