[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 1 15:59:20 CET 2021


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #125920|0                           |1
        is obsolete|                            |

--- Comment #12 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 127175
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127175&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>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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


More information about the Koha-bugs mailing list