Bugzilla – Attachment 133354 Details for
Bug 30226
Add system preference to disable auto-renew checkbox at checkout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30226: (QA follow-up) Sync atomicupdate with sysprefs.sql
Bug-30226-QA-follow-up-Sync-atomicupdate-with-sysp.patch (text/plain), 3.04 KB, created by
Marcel de Rooy
on 2022-04-15 09:47:44 UTC
(
hide
)
Description:
Bug 30226: (QA follow-up) Sync atomicupdate with sysprefs.sql
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-04-15 09:47:44 UTC
Size:
3.04 KB
patch
obsolete
>From 48b303463a3af1dd5b42a2d7bfbfcc5c16e92625 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 15 Apr 2022 09:43:26 +0000 >Subject: [PATCH] Bug 30226: (QA follow-up) Sync atomicupdate with sysprefs.sql >Content-Type: text/plain; charset=utf-8 > >Description and remove choices. >Set items => flag items (as in circulation.pref) > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > installer/data/mysql/atomicupdate/bug_30226.pl | 2 +- > installer/data/mysql/mandatory/sysprefs.sql | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_30226.pl b/installer/data/mysql/atomicupdate/bug_30226.pl >index 2b7538059a..76972f8a6f 100755 >--- a/installer/data/mysql/atomicupdate/bug_30226.pl >+++ b/installer/data/mysql/atomicupdate/bug_30226.pl >@@ -8,7 +8,7 @@ return { > my ($dbh, $out) = @$args{qw(dbh out)}; > # Add system preference AllowSetAutomaticRenewal > $dbh->do(q{ >- INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type` ) VALUES('AllowSetAutomaticRenewal', '1', '|yes|no', 'Allow or Prevent staff from flagging items for autorenewal on the checkout page', 'YesNo') >+ INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type` ) VALUES('AllowSetAutomaticRenewal', '1', NULL, 'If ON, allows staff to flag items for automatic renewal on the check out page', 'YesNo') > }); > # Finished adding system preference AllowSetAutomaticRenewal > say $out "Added system preference AllowSetAutomaticRenewal"; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 81c6f0cc92..3535da9dd9 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -43,7 +43,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('AllowRenewalLimitOverride','0',NULL,'if ON, allows renewal limits to be overridden on the circulation screen','YesNo'), > ('AllowRenewalOnHoldOverride','0',NULL,'If ON, allow items on hold to be renewed with a specified due date','YesNo'), > ('AllowReturnToBranch','anywhere','anywhere|homebranch|holdingbranch|homeorholdingbranch','Where an item may be returned','Choice'), >-('AllowSetAutomaticRenewal','1',NULL,'If ON, allows staff to set items for automatic renewal on the check out page','YesNo'), >+('AllowSetAutomaticRenewal','1',NULL,'If ON, allows staff to flag items for automatic renewal on the check out page','YesNo'), > ('AllowStaffToSetCheckoutsVisibilityForGuarantor','0',NULL,'If enabled, library staff can set a patron''s checkouts to be visible to linked patrons from the opac.', 'YesNo'), > ('AllowStaffToSetFinesVisibilityForGuarantor','0',NULL,'If enabled, library staff can set a patron''s fines to be visible to linked patrons from the opac.', 'YesNo'), > ('AllowTooManyOverride','1','','If on, allow staff to override and check out items when the patron has reached the maximum number of allowed checkouts','YesNo'), >-- >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 30226
:
131388
|
131389
|
131618
|
133353
| 133354 |
133507