View | Details | Raw Unified | Return to bug 23626
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_23626.perl (+9 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{
4
        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')
5
    });
6
7
    SetVersion( $DBversion );
8
    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";
9
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref (-1 / +5 lines)
Lines 97-102 Web services: Link Here
97
            - pref: SvcMaxReportRows
97
            - pref: SvcMaxReportRows
98
              class: integer
98
              class: integer
99
            - rows of a report requested via the reports web service.
99
            - rows of a report requested via the reports web service.
100
        -
101
            - Allow at most
102
            - pref: ReportsMaxRowsInChart
103
              class: integer
104
            - rows of a report to be used when charting results of guided reports
100
    IdRef:
105
    IdRef:
101
        -
106
        -
102
            - pref: IdRef
107
            - pref: IdRef
103
- 

Return to bug 23626