Bugzilla – Attachment 90890 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.05 KB, created by
Nick Clemens (kidclamp)
on 2019-06-21 10:28:36 UTC
(
hide
)
Description:
Bug 23150: (follow-up) Make gdpr_proc_consent mandatory for create
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-06-21 10:28:36 UTC
Size:
1.05 KB
patch
obsolete
>From a6d1cc87965420a0d4a50131395c9ba171c9459b 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 > >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> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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