Bug 40965

Summary: Use library-specific RENEWAL notice when renewing in the OPAC
Product: Koha Reporter: Aude Charillon <aude.charillon>
Component: NoticesAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: martin.renvoize
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Aude Charillon 2025-10-07 14:17:52 UTC
Context: a library service has two RENEWAL notices - one for "All libraries" plus one specific to "Library A".

When items are renewed in the staff interface, the "Library A" RENEWAL notice is sent. When items are renewed in the OPAC, the "All libraries" RENEWAL notice is sent. This does not make sense: renewing from the OPAC should also send the library-specific notice.
Comment 1 Aude Charillon 2025-10-07 14:20:14 UTC
I am not sure how the library is currently picked when a library-specific notice is sent for staff interface renewals. OPAC renewals should probably follow the same logic - or use the library set in OpacRenewalBranch.
Comment 2 Aude Charillon 2025-10-07 14:21:43 UTC
Bug 29489 and bug 35553 are possibly caused by the same root issue as the one reported here?