[Koha-bugs] [Bug 35143] New: Add hooks for status changes to ILL requests to send_staff_notice

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 24 16:13:30 CEST 2023


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 at lists.koha-community.org
          Reporter: philip.orr at lmscloud.de
                CC: pedro.amorim at 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.


More information about the Koha-bugs mailing list