Bug 23150: Do not consider gdpr_proc_consent a mandatory field
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 19 Jun 2019 19:49:15 +0000 (14:49 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 21 Jun 2019 12:05:29 +0000 (13:05 +0100)
commit3b14f7d636fea4425b2f6eab922be9aa2a9eed1d
treec359cb5d675a340bd23dca675a06d446fe7c4e69
parent48259267f6830b2e388b2a91268117645bda80f3
Bug 23150: Do not consider gdpr_proc_consent a mandatory field

It introduced a regression in the patron's self modification feature.
Patron's details are no longer modificable, the screen displays
"You have not filled out all required fields. Please fill in all missing
fields and resubmit."

Test plan:
- Set GDPR_Policy to either Enforced or Permissive
- Set PatronSelfRegistrationBorrowerMandatoryField to empty
- Set OPACPatronDetails to Allow
- Log into the OPAC
- Accept the GDPR screen
- Go to opac-memberentry.pl, change something, submit modification
request

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-memberentry.pl