[Bug 35143] New: Add hooks for status changes to ILL requests to send_staff_notice
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 Bug ID: 35143 Summary: Add hooks for status changes to ILL requests to send_staff_notice Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: ILL Assignee: koha-bugs@lists.koha-community.org Reporter: philip.orr@lmscloud.de CC: pedro.amorim@ptfs-europe.com If the library is using ILL, currently Email notifications can only be (automatically) sent to ILL staff when a patron makes a request to modify or cancel an existing request. The notice templates for those two cases are ILL_REQUEST_CANCEL and ILL_REQUEST_MODIFIED. It would be great if there was also a possibility to automatically send a mail to staff when a patron first creates a request. As ashimema said (paraphrasing here): it would be good to generally add hooks and tie them to the status field so that any status change of an ILL request triggers the corresponding ILL_REQUEST_NEWSTATUS notice if it exists (where NEWSTATUS stands for the new status after the status has changed). Some status changes for instance: ILL_REQUEST_NEW -> sent when request is first created. ILL_REQUEST_CANCEL -> same as it is now, sent when patron wishes to cancel a request ILL_REQUEST_IN_DELIVERY -> sent when status changes to "in delivery". -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 Marie-Luce Laflamme <marie-luce.laflamme@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marie-luce.laflamme@inlibro | |.com --- Comment #1 from Marie-Luce Laflamme <marie-luce.laflamme@inlibro.com> --- 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. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 --- Comment #2 from Marie-Luce Laflamme <marie-luce.laflamme@inlibro.com> --- 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 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 Lisette Scheer <lisette.scheer@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucy.vaux-harvey@ptfs-europ | |e.com --- Comment #3 from Lisette Scheer <lisette.scheer@bywatersolutions.com> --- *** Bug 36551 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 Lisette Scheer <lisette.scheer@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisette.scheer@bywatersolut | |ions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 Chris Rowlands <chris.rowlands6@nhs.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris.rowlands6@nhs.net -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 Pedro Amorim <pedro.amorim@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathsabypro@gmail.com --- Comment #4 from Pedro Amorim <pedro.amorim@ptfs-europe.com> --- *** Bug 39129 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 --- Comment #5 from Mathieu Saby <mathsabypro@gmail.com> --- Yes, it is needed, like for acquisition suggestions ;-) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 Jeremy Evans <jeremy.evans@ukhsa.gov.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremy.evans@ukhsa.gov.uk --- Comment #6 from Jeremy Evans <jeremy.evans@ukhsa.gov.uk> --- We would support this. It would help us to be able to react to incoming requests, particularly when our users start submitting more ILL requests directly into Koha via forms in the OPAC or EBSCO Discovery. Also if suppliers such as Reprintsdesk report issues with anything requested in Koha via the API staff can respond in a timely manner. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 Ray Delahunty <r.delahunty@arts.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r.delahunty@arts.ac.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 --- Comment #7 from Ray Delahunty <r.delahunty@arts.ac.uk> --- Hooks to emails on status changes (like in Suggestions Management) would be great, as we are having to set up lots of Patron Emailer runs to message our patrons. The emailer is probably my favourite routine tool in Koha, but writing the reports and notices and having our support people add the line to our crontab is... tedious! -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 --- Comment #8 from Marie-Luce Laflamme <marie-luce.laflamme@inlibro.com> --- This would make it easier to follow up on new ILL requests. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@libriotech.no --- Comment #9 from Magnus Enger <magnus@libriotech.no> --- +1 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org