Bug 25769: Patron self modification triggers change request for date of birth to...
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 16 Jun 2020 12:00:45 +0000 (08:00 -0400)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Wed, 22 Jul 2020 17:30:39 +0000 (19:30 +0200)
commit8d8417a00da6f3646a1a60e8c93d5bbece099f00
treef8b69d4a0e80b4eb5e9c285ebd14307d4820cb23
parent9b6e78fd249a561cef762193b6cf8cccb12da558
Bug 25769: Patron self modification triggers change request for date of birth to null

If PatronSelfModificationBorrowerUnwantedField contains dateofbirth, all
patron self modification requests will attempt to set dateofbirth to
null instead of ignoring the field.

Test Plan:
1) Add dateofbirth to PatronSelfModificationBorrowerUnwantedField
2) Run a patron self modification
3) Note the request sets dateofbirth to null on the staff side
4) Apply this patch
5) Restart all the things!
6) Run another self-modification
7) Note of the staff side that dateofbirth is unaffected

Signed-off-by: Emmi Takkinen <emmi.takkinen@outlook.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 73c421a5164a3af4b2b8e1001b49f29213a94e3a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 41ad2ba4db8d70f5010f530883ded02c0641329d)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

(cherry picked from commit c21ae5e5177ec9180f07fd5639b7e9912aadfdc1)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
opac/opac-memberentry.pl