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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 12:23:33 +0000 (14:23 +0200)
commit73c421a5164a3af4b2b8e1001b49f29213a94e3a
treec7946a661cc32d1733ea462aab225479b29e7b9f
parent31800ba46b2ed03cc2e4431c4d3c56fce678a0ec
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>
opac/opac-memberentry.pl