Bugzilla – Attachment 171172 Details for
Bug 23685
Exporting report may consume unlimited memory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23685: (follow-up) Dbrev for new preferences
Bug-23685-follow-up-Dbrev-for-new-preferences.patch (text/plain), 2.59 KB, created by
Marcel de Rooy
on 2024-09-09 08:23:54 UTC
(
hide
)
Description:
Bug 23685: (follow-up) Dbrev for new preferences
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-09-09 08:23:54 UTC
Size:
2.59 KB
patch
obsolete
>From 04569c670a451e68c7d29771aec21fd7234d859c Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 6 Sep 2024 09:58:18 +0000 >Subject: [PATCH] Bug 23685: (follow-up) Dbrev for new preferences >Content-Type: text/plain; charset=utf-8 > >Test plan: >Run updatedatabase. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > installer/data/mysql/atomicupdate/bug23685.pl | 21 +++++++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 2 ++ > 2 files changed, 23 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug23685.pl > >diff --git a/installer/data/mysql/atomicupdate/bug23685.pl b/installer/data/mysql/atomicupdate/bug23685.pl >new file mode 100755 >index 0000000000..f17fb3dad0 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug23685.pl >@@ -0,0 +1,21 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_failure say_success say_info); >+ >+return { >+ bug_number => "23685", >+ description => "Add prefs ReportsExportFormatODS and ReportsExportLimit", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # sysprefs >+ $dbh->do( >+ q{ >+ INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES >+ ('ReportsExportFormatODS',1,NULL,'Show ODS download in Reports','YesNo'), >+ ('ReportsExportLimit',NULL,NULL,'Limit for report downloads','Integer'); >+ } >+ ); >+ say $out "Added new system preferences: ReportsExportFormatODS and ReportsExportLimit"; >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index a865f86cb2..d19ada7d62 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -655,6 +655,8 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('RenewalSendNotice','0','',NULL,'YesNo'), > ('RenewSerialAddsSuggestion','0',NULL,'If ON, adds a new suggestion at serial subscription renewal','YesNo'), > ('RentalFeesCheckoutConfirmation', '0', NULL , 'Allow user to confirm when checking out an item with rental fees.', 'YesNo'), >+('ReportsExportFormatODS',1,NULL,'Show ODS download in Reports','YesNo'), >+('ReportsExportLimit',NULL,NULL,'Limit for report downloads','Integer'), > ('ReplytoDefault','',NULL,'Use this email address as the replyto in emails','Free'), > ('ReportsLog','0',NULL,'If ON, log information about reports.','YesNo'), > ('RequireCashRegister','0',NULL,'Require a cash register when collecting a payment','YesNo'), >-- >2.30.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 23685
:
168116
|
168570
|
168577
|
171136
|
171137
|
171138
|
171139
|
171140
|
171141
|
171142
|
171143
|
171144
|
171145
|
171171
|
171172
|
171173
|
171174
|
171175
|
171571
|
171572
|
171573
|
171574
|
171575