Bug 40005 - Manage request page should show accessurl
Summary: Manage request page should show accessurl
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: ILL (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Pedro Amorim
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-27 14:08 UTC by Pedro Amorim
Modified: 2025-06-01 22:41 UTC (History)
3 users (show)

See Also:
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 (2.02 KB, patch)
2025-05-27 14:14 UTC, Pedro Amorim
Details | Diff | Splinter Review
Bug 40005: Add accessurl to manage ILL request page (2.06 KB, patch)
2025-06-01 22:01 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.