[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
Wed Oct 4 15:53:59 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33690
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #155396|0 |1
is obsolete| |
Attachment #155397|0 |1
is obsolete| |
Attachment #155406|0 |1
is obsolete| |
Attachment #155407|0 |1
is obsolete| |
--- Comment #22 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 156544
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156544&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>
Bug 33690: Tidy test
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list