[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:07:14 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24345

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 96829
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96829&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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list