Bugzilla – Attachment 46236 Details for
Bug 14658
Split PatronSelfRegistrationBorrowerUnwantedField into two preferences for creating and editing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14658 - (QA followup) make it easier to grep for these syspref names
Bug-14658---QA-followup-make-it-easier-to-grep-for.patch (text/plain), 1.02 KB, created by
Jesse Weaver
on 2016-01-04 21:51:14 UTC
(
hide
)
Description:
Bug 14658 - (QA followup) make it easier to grep for these syspref names
Filename:
MIME Type:
Creator:
Jesse Weaver
Created:
2016-01-04 21:51:14 UTC
Size:
1.02 KB
patch
obsolete
>From c97198fee32f253ab309bd02b71c6cba4b4d9f1f Mon Sep 17 00:00:00 2001 >From: Jesse Weaver <pianohacker@gmail.com> >Date: Fri, 18 Dec 2015 10:20:07 -0700 >Subject: [PATCH] Bug 14658 - (QA followup) make it easier to grep for these > syspref names > >--- > opac/opac-memberentry.pl | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index 1fe0bb3..c4ed0b1 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -254,8 +254,9 @@ sub GetHiddenFields { > my ( $mandatory, $action ) = @_; > my %hidden_fields; > >- my $BorrowerUnwantedField = >- C4::Context->preference( "PatronSelf" . ucfirst($action) . "BorrowerUnwantedField" ); >+ my $BorrowerUnwantedField = $action eq 'modification' ? >+ C4::Context->preference( "PatronSelfModificationBorrowerUnwantedField" ) : >+ C4::Context->preference( "PatronSelfRegistrationBorrowerUnwantedField" ); > > my @fields = split( /\|/, $BorrowerUnwantedField ); > foreach (@fields) { >-- >2.6.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 14658
:
41643
|
42145
|
43041
|
45847
|
46074
|
46075
|
46235
|
46236
|
46237
|
46238
|
46352
|
47830
|
48069
|
48070
|
48071