Bug 40005

Summary: Manage request page should show accessurl
Product: Koha Reporter: Pedro Amorim <pedro.amorim>
Component: ILLAssignee: Pedro Amorim <pedro.amorim>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, pedro.amorim, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
This enhancement adds the 'Access URL' field to the manage ILL request page, if a value exists (depending on the backend). Before this, it was only shown in the table listing all requests.
Version(s) released in:
Circulation function:
Attachments: Bug 40005: Add accessurl to manage ILL request page
Bug 40005: Add accessurl to manage ILL request page

Description Pedro Amorim 2025-05-27 14:08:39 UTC

    
Comment 1 Pedro Amorim 2025-05-27 14:14:47 UTC
Created attachment 182798 [details] [review]
Bug 40005: Add accessurl to manage ILL request page

Test plan:
1) Enable ILLModule
2) Create a new ILL request, visit:
   <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard
3) Add 'type', cardnumber '42' and any library. Click 'Create'.
4) You are now on the ILL manage request page.
5) Some backends may use the accessurl to store the URL of a document, run the following SQL:
   UPDATE illrequests SET accessurl = 'https://koha-community.org/';
6) Refresh the page from 4) or visit the ILL manage request page for that request.
7) Verify the accessurl is now shown.
Comment 2 David Nind 2025-06-01 22:01:59 UTC
Created attachment 182893 [details] [review]
Bug 40005: Add accessurl to manage ILL request page

Test plan:
1) Enable ILLModule
2) Create a new ILL request, visit:
   <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard
3) Add 'type', cardnumber '42' and any library. Click 'Create'.
4) You are now on the ILL manage request page.
5) Some backends may use the accessurl to store the URL of a document, run the following SQL:
   UPDATE illrequests SET accessurl = 'https://koha-community.org/';
6) Refresh the page from 4) or visit the ILL manage request page for that request.
7) Verify the accessurl is now shown.

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 David Nind 2025-06-01 22:41:39 UTC
Testing notes (using KTD):

1. Before applying the patch:
   - create an ILL request
   - use the SQL in step 5 to add a value to the accessurl field
   - note this value is shown in the table listing all ILL requests
   - note that it is not shown on the request details page for the ILL request

2. After the patch, the value is shown on the details page for the ILL request.

I'm assuming that this database field exists, and if a value is added depends on the backend you use.