Bug 40262

Summary: ILL - Save the fact that copyright clearance has been confirmed by the patron
Product: Koha Reporter: Pedro Amorim <pedro.amorim>
Component: ILLAssignee: Bugs List <koha-bugs>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, lisette, martin.renvoize, n.halford-busby, pedro.amorim, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
This enhancement to copyright clearance for interlibrary loan requests: - records the copyright clearance in the database (it previously wasn't) - shows the message "Patron has confirmed copyright clearance for this request" on the request page (This requires text in the ILLModuleCopyrightClearance HTML customization.)
Version(s) released in:
Circulation function:
Attachments: Bug 40262: Save and display copyrightclearance_confirmed
Bug 40262: Save and display copyrightclearance_confirmed

Description Pedro Amorim 2025-06-27 14:00:57 UTC
The current functionality of ILLModuleCopyrightClearance blocks the patron from creating an ILL request in the OPAC unless they click 'Yes'. This is working like this by design but nowhere in the database this fact is recorded.
Some libraries require this to be recorded in the database for legal and other purposes.
Comment 1 Pedro Amorim 2025-06-27 14:09:02 UTC
Created attachment 183607 [details] [review]
Bug 40262: Save and display copyrightclearance_confirmed

Test plan, k-t-d:
1) Enable ILLModule
2) Add a new HTML customization, visit:
<staff_url>/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=html_customizations&editmode=wysiwyg
3) Pick ILLModuleCopyrightClearance as the 'Display location'
4) Pick a 'Publication date' in the past
5) Add a title and content. Save.
6) Create a new ILL request in the OPAC, visit:
<opac_url>/cgi-bin/koha/opac-illrequests.pl?op=add_form&backend=Standard
7) Notice the copyright clearance step is shown. Click 'Yes'.
8) Enter a 'type' and (optionally) some metadata. Click 'Create'.
9) Go back to the module in Staff UI and pick the request just created through the OPAC, visit:
<staff_url>/cgi-bin/koha/ill/ill-requests.pl
10) Notice the message 'Patron has confirmed copyright clearance for this request' is shown next to the patron in the the request details
Comment 2 David Nind 2025-06-30 21:57:10 UTC
Created attachment 183662 [details] [review]
Bug 40262: Save and display copyrightclearance_confirmed

Test plan, k-t-d:
1) Enable ILLModule
2) Add a new HTML customization, visit:
<staff_url>/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=html_customizations&editmode=wysiwyg
3) Pick ILLModuleCopyrightClearance as the 'Display location'
4) Pick a 'Publication date' in the past
5) Add a title and content. Save.
6) Create a new ILL request in the OPAC, visit:
<opac_url>/cgi-bin/koha/opac-illrequests.pl?op=add_form&backend=Standard
7) Notice the copyright clearance step is shown. Click 'Yes'.
8) Enter a 'type' and (optionally) some metadata. Click 'Create'.
9) Go back to the module in Staff UI and pick the request just created through the OPAC, visit:
<staff_url>/cgi-bin/koha/ill/ill-requests.pl
10) Notice the message 'Patron has confirmed copyright clearance for this request' is shown next to the patron in the the request details

Signed-off-by: David Nind <david@davidnind.com>