Bugzilla – Attachment 170097 Details for
Bug 14180
Make "Always show checkouts immediately" a global setting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14180: Add AlwaysLoadCheckoutsTable system preference
Bug-14180-Add-AlwaysLoadCheckoutsTable-system-pref.patch (text/plain), 2.46 KB, created by
Nick Clemens (kidclamp)
on 2024-08-06 13:14:58 UTC
(
hide
)
Description:
Bug 14180: Add AlwaysLoadCheckoutsTable system preference
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-08-06 13:14:58 UTC
Size:
2.46 KB
patch
obsolete
>From a52d1d95c878331f166612c2fe28620c1a0b2cfd Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 26 Jan 2024 17:34:40 +0000 >Subject: [PATCH] Bug 14180: Add AlwaysLoadCheckoutsTable system preference > >Signed-off-by: Kelly <kelly@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_14180.pl | 18 ++++++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > 2 files changed, 19 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_14180.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_14180.pl b/installer/data/mysql/atomicupdate/bug_14180.pl >new file mode 100755 >index 00000000000..dffa6050382 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_14180.pl >@@ -0,0 +1,18 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "14180", >+ description => "Add system preference AlwaysLoadCheckoutsTable", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # Do you stuffs here >+ $dbh->do( >+ q{ >+ INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) >+ VALUES ('AlwaysLoadCheckoutsTable','0','','Option to always load the checkout table','YesNo') >+ } >+ ); >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 1a7cd033e90..d55eee30c79 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -55,6 +55,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('alphabet','A B C D E F G H I J K L M N O P Q R S T U V W X Y Z',NULL,'Alphabet than can be expanded into browse links, e.g. on Home > Patrons','free'), > ('AlternateHoldingsField','',NULL,'The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).','free'), > ('AlternateHoldingsSeparator','',NULL,'The string to use to separate subfields in alternate holdings displays.','free'), >+('AlwaysLoadCheckoutsTable','0','','Option to always load the checkout table','Yes/No'), > ('AmazonAssocTag','','','See: http://aws.amazon.com','free'), > ('AmazonCoverImages','0','','Display Cover Images in staff interface from Amazon Web Services','YesNo'), > ('AmazonLocale','US','US|CA|DE|FR|IN|JP|UK','Use to set the Locale of your Amazon.com Web Services','Choice'), >-- >2.39.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 14180
:
161548
|
161549
|
161550
|
161551
|
161554
|
161555
|
161556
|
170095
|
170096
|
170097
|
170098
|
173382
|
173383
|
173384