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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Jul 2020 15:22:32 +0000 (15:22 +0000)
commit41ad2ba4db8d70f5010f530883ded02c0641329d
tree5644e16395939433e13e267a5fc6a81daf036e7e
parentca74f037d83a7c406f187bdfe77cbed7b2f4aade
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>
opac/opac-memberentry.pl