Bugzilla – Attachment 90847 Details for
Bug 23150
GDPR feature breaks patron self modification on OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23150: (follow-up) Make gdpr_proc_consent mandatory for create
Bug-23150-follow-up-Make-gdprprocconsent-mandatory.patch (text/plain), 1.03 KB, created by
Marcel de Rooy
on 2019-06-20 12:41:49 UTC
(
hide
)
Description:
Bug 23150: (follow-up) Make gdpr_proc_consent mandatory for create
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-06-20 12:41:49 UTC
Size:
1.03 KB
patch
obsolete
>From fe416413acf24dab13d071d66a4617b43b5fef40 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 20 Jun 2019 12:37:27 +0000 >Subject: [PATCH] Bug 23150: (follow-up) Make gdpr_proc_consent mandatory for > create >Content-Type: text/plain; charset=utf-8 > >When updating (patron modification), the field should not be required. > >Test plan: >Check patron modification on opac. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > opac/opac-memberentry.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index dc9c680038..f76a30c098 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -366,6 +366,7 @@ sub GetMandatoryFields { > C4::Context->preference("PatronSelfRegistrationBorrowerMandatoryField"); > > my @fields = split( /\|/, $BorrowerMandatoryField ); >+ push @fields, 'gdpr_proc_consent' if C4::Context->preference('GDPR_Policy') && $action eq 'create'; > > foreach (@fields) { > $mandatory_fields{$_} = 1; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23150
:
90817
|
90846
|
90847
|
90889
|
90890