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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 9 Mar 2022 09:03:34 +0000 (23:03 -1000)
commit52c4bd1de6949a27c4bc27b322f9960e0b318365
tree15c8876e903169fe1a65db4932191c649637b4a8
parent27b8c55dfa2a6037e527e9565da7ef3761f00280
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>
Koha/REST/V1/Patrons.pm