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

--- Comment #1 from Pedro Amorim (ammopt) <[email protected]> ---
Created attachment 212011
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212011&action=edit
Bug 44158: Make ILL access URLs clickable in the OPAC

Shows the access URL as a link on the OPAC ILL request details, and
links the title in the OPAC ILL requests table. accessurl is added
to the public API fields.

Test plan:
1) Apply the patch, restart plack
2) Enable 'ILLModule'
3) Create two OPAC ILL requests for a patron. Set an access URL on one of them:
   echo "UPDATE illrequests SET accessurl='https://example.org/article' WHERE
illrequest_id=<ID>" | koha-mysql kohadev
4) Log in to the OPAC as that patron and visit:
   http://localhost:8080/cgi-bin/koha/opac-illrequests.pl
5) Notice the title of the request with an access URL is a link.
   If it has no title, the link says 'View document'
6) Click 'View' on that request, notice the 'Access URL' link
7) The other request shows a plain title and no 'Access URL'
8) prove t/db_dependent/api/v1/ill_requests.t

Co-Authored-By: Claude Opus 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to