Bugzilla – Attachment 161857 Details for
Bug 23208
Ability to set default ratio in holds ratio report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23208: perltidy
Bug-23208-perltidy.patch (text/plain), 2.63 KB, created by
Emily Lamancusa (emlam)
on 2024-02-07 22:00:59 UTC
(
hide
)
Description:
Bug 23208: perltidy
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2024-02-07 22:00:59 UTC
Size:
2.63 KB
patch
obsolete
>From aba426879981e4e7c79dece1d4d9309f1a0618be Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 26 Jan 2024 18:47:50 +0000 >Subject: [PATCH] Bug 23208: perltidy > >Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org> >Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >--- > installer/data/mysql/atomicupdate/bug_23208.pl | 13 ++++++++----- > installer/data/mysql/mandatory/sysprefs.sql | 2 +- > 2 files changed, 9 insertions(+), 6 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_23208.pl b/installer/data/mysql/atomicupdate/bug_23208.pl >index 9d9b1bd9c4..423a9d43d7 100755 >--- a/installer/data/mysql/atomicupdate/bug_23208.pl >+++ b/installer/data/mysql/atomicupdate/bug_23208.pl >@@ -1,15 +1,18 @@ > use Modern::Perl; > > return { >- bug_number => "23208", >+ bug_number => "23208", > description => "Add system preference HoldRatioDefault", >- up => sub { >+ up => sub { > my ($args) = @_; >- my ($dbh, $out) = @$args{qw(dbh out)}; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ > # Do you stuffs here >- $dbh->do(q{ >+ $dbh->do( >+ q{ > INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) > VALUES ('HoldRatioDefault','3','','Default value for the Hold ratio report','Integer') >- }); >+ } >+ ); > }, > }; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index ec4abc7207..e4be2aad5c 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -288,7 +288,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('HidePatronName','0','','If this is switched on, patron\'s cardnumber will be shown instead of their name on the holds and catalog screens','YesNo'), > ('HidePersonalPatronDetailOnCirculation', 0, '', 'Hide patrons phone number, email address, street address and city in the circulation page','YesNo'), > ('HoldFeeMode','not_always','any_time_is_placed|not_always|any_time_is_collected','Set the hold fee mode','Choice'), >-('HoldRatioDefault','3','','Default value for the hold ratio reprt','Integer'), >+('HoldRatioDefault','3','','Default value for the hold ratio report','Integer'), > ('HoldsAutoFill','0',NULL,'If on, librarian will not be asked if hold should be filled, it will be filled automatically','YesNo'), > ('HoldsAutoFillPrintSlip','0',NULL,'If on, hold slip print dialog will be displayed automatically','YesNo'), > ('HoldsLog','0',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo'), >-- >2.34.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 23208
:
161557
|
161558
|
161559
|
161729
|
161730
|
161731
|
161855
|
161856
| 161857