Bug 40258

Summary: Option to only use item-level recalls and disable record-level recalls
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: CirculationAssignee: Aleisha Amohia <aleisha>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: Sponsored
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function: Recalls
Bug Depends on: 19532    
Bug Blocks:    
Attachments: Bug 40258: Option to only use item-level recalls and disable record-level recalls

Description Aleisha Amohia 2025-06-27 03:05:07 UTC
It would be good to essentially hide the "Recall next available item" options for libraries who do not want record-level recalls
Comment 1 Aleisha Amohia 2025-06-27 04:24:02 UTC
Created attachment 183569 [details] [review]
Bug 40258: Option to only use item-level recalls and disable record-level recalls

This enhancement adds a new system preference, RecallsRecordLevel, which can be turned off to only allow item-level recalls to be placed. It is enabled by default to match current default behaviour. When disabled, the option to 'recall next available item' is not shown.

To test:

1) Apply patch, install database updates and restart services
2) Log in to the staff interface and go to Koha Administration. Search for the UseRecalls system preference and ensure it is enabled. Notice the new RecallsRecordLevel system preference. Confirm the description makes sense. Make sure any recalls related circulation rules are set as needed.
3) Search for an item and check it out to Patron B.
4) Log in to the OPAC as Patron A and search for the item you just checked out to Patron B.
5) Go to Place a recall on this record. You should see both options - 'recall next available item' and 'recall a specific item'. Toggle between the options and confirm the items table shows when choosing the 'recall a specific item' option. Do not actually submit the recall request.
6) Go back to the staff interface and change the RecallsRecordLevel to 'item-level only' and Save.
7) Refresh the OPAC recall page. Notice that the 'recall next available item' option no longer shows, and the items table is already showing.

Sponsored-by: Auckland University of Technology