Bugzilla – Attachment 168528 Details for
Bug 35766
Allow staff to adjust privacy settings for patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35766: Adjust template and allow staff to adjust privacy settings for patron
Bug-35766-Adjust-template-and-allow-staff-to-adjus.patch (text/plain), 1.67 KB, created by
Roman Dolny
on 2024-07-05 07:55:59 UTC
(
hide
)
Description:
Bug 35766: Adjust template and allow staff to adjust privacy settings for patron
Filename:
MIME Type:
Creator:
Roman Dolny
Created:
2024-07-05 07:55:59 UTC
Size:
1.67 KB
patch
obsolete
>From 476cb5c912a1d24f2df41b83595d496e26b68e6f Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Wed, 3 Jul 2024 17:13:03 +0000 >Subject: [PATCH] Bug 35766: Adjust template and allow staff to adjust privacy > settings for patron > >To test: >1. Patrons -> New Patron -> Fill in required fields. >2. Notice there is no option to edit the patron's privacy. >3. Click save. >4. In your new patron's details notice 'Privacy pref:' is set to default. >5. Apply patch and restart_all >6. Go to your new patron's details and click edit. >7. Scroll to 'Library Management' and notice a new option to change the patron's privacy settings. >8. Change the setting to whatever you like and click save. >9. In your patron's details notice 'Privacy pref:' is set to whichever setting you chose. > >Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> >--- > members/memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index f647234691..19f270d917 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -202,7 +202,7 @@ if ( $op eq 'cud-insert' || $op eq 'edit_form' || $op eq 'cud-save' || $op eq 'd > # remove keys from %newdata that is not part of patron's attributes > { > my @keys_to_delete = ( >- qr/^(borrowernumber|date_renewed|debarred|debarredcomment|flags|privacy|updated_on|lastseen|login_attempts|overdrive_auth_token|anonymized)$/, # Bug 28935 >+ qr/^(borrowernumber|date_renewed|debarred|debarredcomment|flags|updated_on|lastseen|login_attempts|overdrive_auth_token|anonymized)$/, # Bug 28935 > qr/^BorrowerMandatoryField$/, > qr/^check_member$/, > qr/^destination$/, >-- >2.39.2
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 35766
:
168466
|
168467
|
168527
| 168528