[Koha-bugs] [Bug 33690] Add ability to send welcome notice when creating patrons using the REST API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 7 21:41:29 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33690

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #150787|0                           |1
        is obsolete|                            |

--- Comment #5 from David Nind <david at davidnind.com> ---
Created attachment 150791
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150791&action=edit
Bug 33690: Add ability to send welcome notice when creating patrons using the
REST API

It would be nice to have the ability to send a welcome notice when creating
patrons via the API.

Test Plan:
1) Apply this patch
2) Ensure you have a WELCOME notice
3) Create a new patron using the REST API ( api/v1/patrons )
4) Note no welcome notice is sent to the patron ( you can check the
   notices tab for the patron )
5) Repeat step 3, but send the header X-Koha-SendWelcomeEmail with a
   value of 1 as part of the POST
6) Note the welcome message for the patron is in their notices!

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list