Bug 22993: Handle default messaging preferences during patron creation from API
authorNick Clemens <nick@bywatersolutions.com>
Fri, 25 Feb 2022 20:04:41 +0000 (20:04 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Thu, 24 Mar 2022 17:44:48 +0000 (17:44 +0000)
commitced32711bb2915e9b4dd97bf3695d86712620ca4
tree62232e9d9522c48103e7c386987fdf9b9951b8d3
parentbb9cf28aa201fa26d81cb7843da691c21551f86f
Bug 22993: Handle default messaging preferences during patron creation from API

TO test:
1 - Set default messaging preferences for a patron category
2 - Create a patron in that category using the API
3 - Verify messaging preferences are not set
4 - Apply patch, restart all
5 - Create another patron
6 - Verify messaging preferences are correctly set
7 - prove -v t/db_dependent/api/v1/patrons.t

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1e02087923230e5c6ecad66dcf1288a196ba2c81)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/REST/V1/Patrons.pm