Bugzilla – Attachment 92920 Details for
Bug 23626
Add a system preference to limit the number of rows of data used when charting or exporting report results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23626: Add database update and system preference to web ui
Bug-23626-Add-database-update-and-system-preferenc.patch (text/plain), 2.13 KB, created by
Kyle M Hall (khall)
on 2019-09-17 19:31:04 UTC
(
hide
)
Description:
Bug 23626: Add database update and system preference to web ui
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-09-17 19:31:04 UTC
Size:
2.13 KB
patch
obsolete
>From 626fe7a1c0718891b8cb832b670dc5dc2d156089 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 17 Sep 2019 13:31:25 -0400 >Subject: [PATCH] Bug 23626: Add database update and system preference to web > ui > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_23626.perl | 9 +++++++++ > .../prog/en/modules/admin/preferences/web_services.pref | 5 +++++ > 2 files changed, 14 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_23626.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_23626.perl b/installer/data/mysql/atomicupdate/bug_23626.perl >new file mode 100644 >index 0000000000..1d43c50302 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_23626.perl >@@ -0,0 +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 ('ReportsMaxRowsInChart','10000',NULL,'If greater than 0, sets the maximum number of rows that will be used when charting results of guided reports','Integer') >+ }); >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 23626 - Add a system preference to limit the number of rows of data used in a chart when viewing report results)\n"; >+} >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref >index 242a0ed400..9ad663a23e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref >@@ -97,6 +97,11 @@ Web services: > - pref: SvcMaxReportRows > class: integer > - rows of a report requested via the reports web service. >+ - >+ - Allow at most >+ - pref: ReportsMaxRowsInChart >+ class: integer >+ - rows of a report to be used when charting results of guided reports > IdRef: > - > - pref: IdRef >-- >2.20.1 (Apple Git-117)
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 23626
:
92845
|
92904
|
92905
|
92908
|
92909
|
92910
|
92919
|
92920
|
92921
|
92992
|
92994
|
93126
|
93137
|
93204
|
93406
|
93589
|
93720
|
93723
|
93729
|
93914
|
93915
|
93916
|
93981