Bug 33215

Summary: 'Patron not notified' when checking in a recalled item
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23781
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Caroline Cyr La Rose 2023-03-13 18:53:10 UTC
When a recalled item is checked-in, it always says the 'Patron is not notified', even if there is an email queued in the message_queue or, with bug 23781, the messaging preference is checked.

To reproduce:
1. Enable UseRecalls
2. Set up recalls in the circulation rules
3. Check out an item to a patron (patron A)
4. Add an email in the account of another patron (patron B)
5. In the OPAC, log in as a patron (patron B)
6. Place a recall on the item
7. Check in the item
   --> Notice the pop up says 'Patron is not notified'
8. Click 'Confirm recall'
9. Check the message_queue in the database, or the patron's notifications tab
   --> The message is queued