Summary: | Add hooks for status changes to ILL requests to send_staff_notice | ||
---|---|---|---|
Product: | Koha | Reporter: | Philip Orr <philip.orr> |
Component: | ILL | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | chris.rowlands6, lisette, lucy.vaux-harvey, marie-luce.laflamme, pedro.amorim |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Philip Orr
2023-10-24 14:13:30 UTC
Yes, it would be great to send an email to the library whenever there's a new ILL request. It could also be useful to add an alert next to the 'new suggestion pending' warning on the staff lending page. Suggestion of a test plan Required settings Enable the native ILL module and the necessary backend code before testing. Test plan 1- Created a new ILL_NEW_REQUEST template in (tools > Notices & slips) e.g. template code: ILL_NEW_REQUEST and message like: "A new interlibrary loan request from a patron is awaiting for approval. Request ID [% illrequest.illrequest_id %] . Please review this request: [% ill_full_metadata %]" 2- Add ILL template codes in the system preference "ILLSendStaffNotices" ILL_REQUEST_CANCEL|ILL_REQUEST_MODIFIED||ILL_NEW_REQUEST 3- Add your email in the system preference "ILLDefaultStaffEmail" 4- Login in to the OPAC 5- Go to the «Interlibrary request» section 6- Place a request 7- Check the message_queue in a terminal ---> At the moment, Koha is not generating the "ILL_NEW_REQUEST" email (issue) ---> it should be added to the message_queue 8- Return to the OPAC 9- Modify the ILL request and save the changes 10- Check your email inbox --> Koha is sending correctly the ILL_REQUEST_MODIFIED email to staff 11- Go back to the OPAC and cancel the ILLrequest. 12- Check your email inbox --> Koha is sending correctly the ILL_REQUEST_CANCEL email to staff |