Bugzilla – Attachment 123335 Details for
Bug 13188
Make it possible to configure mandatory patron data differently between OPAC registration and modification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13188: (follow-up) Get value from PatronSelfRegistrationBorrowerMandatoryField when updating database
Bug-13188-follow-up-Get-value-from-PatronSelfRegis.patch (text/plain), 1.73 KB, created by
Lucas Gass (lukeg)
on 2021-07-30 17:32:39 UTC
(
hide
)
Description:
Bug 13188: (follow-up) Get value from PatronSelfRegistrationBorrowerMandatoryField when updating database
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-07-30 17:32:39 UTC
Size:
1.73 KB
patch
obsolete
>From 35e50de02c07df6ef76ef8c7d8c410280ae538bb Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 30 Jul 2021 17:31:08 +0000 >Subject: [PATCH] Bug 13188: (follow-up) Get value from > PatronSelfRegistrationBorrowerMandatoryField when updating database > >--- > ...3188_add_PatronSelfModificationMandatoryField_syspref.perl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_13188_add_PatronSelfModificationMandatoryField_syspref.perl b/installer/data/mysql/atomicupdate/bug_13188_add_PatronSelfModificationMandatoryField_syspref.perl >index 9462d3b3ea..0e9e76b358 100644 >--- a/installer/data/mysql/atomicupdate/bug_13188_add_PatronSelfModificationMandatoryField_syspref.perl >+++ b/installer/data/mysql/atomicupdate/bug_13188_add_PatronSelfModificationMandatoryField_syspref.perl >@@ -1,7 +1,9 @@ > $DBversion = 'XXX'; # will be replaced by the RM > if( CheckVersion( $DBversion ) ) { > $dbh->do(q{ >- INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('PatronSelfModificationMandatoryField','', NULL,'Define the required fields when a patron is editing their information via the OPAC.','multiple'); >+ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) >+ SELECT 'PatronSelfModificationMandatoryField', value, NULL, 'Define the required fields when a patron is editing their information via the OPAC','multiple' >+ FROM (SELECT value FROM systempreferences WHERE variable="PatronSelfRegistrationBorrowerMandatoryField") tmp > }); > NewVersion($DBversion, 13188, "Allow configuration of required fields when a patron is editing their information via the OPAC"); > } >-- >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 13188
:
115371
|
115372
|
116085
|
122752
|
123335
|
125272
|
125273
|
125274
|
128409
|
128413
|
128414
|
128415
|
128416
|
128417
|
128418