[Koha-bugs] [Bug 29168] Only show "Request article" if allowed on the detail view
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 8 13:00:50 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29168
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #127175|0 |1
is obsolete| |
--- Comment #17 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 127441
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127441&action=edit
Bug 29168: Only show 'Request article' if allowed on the detail view
This patch adds a check for the patron being able to place the request,
in the case of logged in patron. The anonymous patron will still be
displayed the link, and redirected to the login page as required.
To test:
1. Set the article request limit to 1
2. Place a request on behalf of a known patron
3. With the patron session, in the OPAC, try to place a new article
request from the detail page
=> SUCCESS: There's no link
4. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list