From 476cb5c912a1d24f2df41b83595d496e26b68e6f Mon Sep 17 00:00:00 2001 From: Eric Garcia 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 --- 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