[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
Fri Sep 8 13:10:44 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33690
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #150791|0 |1
is obsolete| |
--- Comment #14 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 155396
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155396&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>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list