Bugzilla – Attachment 124833 Details for
Bug 28935
No filtering on patron's data on member entry pages (OPAC, self registration, staff interface)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28935: (follow-up) Use BorrowerUnwantedField on staff client
Bug-28935-follow-up-Use-BorrowerUnwantedField-on-s.patch (text/plain), 1.08 KB, created by
Nick Clemens (kidclamp)
on 2021-09-13 12:58:03 UTC
(
hide
)
Description:
Bug 28935: (follow-up) Use BorrowerUnwantedField on staff client
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-09-13 12:58:03 UTC
Size:
1.08 KB
patch
obsolete
>From 1de0d9021755df9c48625a5721261dad9d9110c4 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 13 Sep 2021 12:56:30 +0000 >Subject: [PATCH] Bug 28935: (follow-up) Use BorrowerUnwantedField on staff > client > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > members/memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 43d4485a82..49f130ace0 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -242,7 +242,7 @@ if ( $op eq 'insert' || $op eq 'modify' || $op eq 'save' || $op eq 'duplicate' ) > qr/^guarantor_surname$/, > qr/^delete_guarantor$/, > ); >- push @keys_to_delete, map { qr/^$_$/ } split( /\s*\|\s*/, C4::Context->preference('PatronSelfRegistrationBorrowerUnwantedField') || q{} ); >+ push @keys_to_delete, map { qr/^$_$/ } split( /\s*\|\s*/, C4::Context->preference('BorrowerUnwantedField') || q{} ); > for my $regexp (@keys_to_delete) { > for (keys %newdata) { > delete($newdata{$_}) if /$regexp/; >-- >2.20.1
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 28935
:
124326
|
124327
|
124350
|
124416
|
124418
|
124422
|
124425
|
124446
|
124447
|
124448
|
124449
|
124450
|
124461
|
124462
|
124499
|
124500
|
124501
|
124502
|
124503
|
124523
|
124524
|
124525
|
124526
|
124527
|
124528
|
124529
|
124530
|
124531
|
124532
|
124640
|
124641
|
124642
|
124643
|
124644
|
124645
|
124646
|
124647
|
124648
|
124649
|
124650
|
124730
|
124731
|
124732
|
124733
|
124734
|
124735
|
124736
|
124737
|
124738
|
124739
|
124740
|
124769
|
124784
|
124832
|
124833
|
124837
|
124838
|
124839
|
124840