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

(-)a/installer/data/mysql/atomicupdate/bug_17465_-_add_NumSavedReports_syspref.sql (+1 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('NumSavedReports', '20', NULL, 'By default, show this number of saved reports.', 'Integer');
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 285-290 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
285
('NovelistSelectStaffView','tab','tab|above|below','Where to display Novelist Select content in the staff client','Choice'),
285
('NovelistSelectStaffView','tab','tab|above|below','Where to display Novelist Select content in the staff client','Choice'),
286
('NovelistSelectView','tab','tab|above|below|right','Where to display Novelist Select content','Choice'),
286
('NovelistSelectView','tab','tab|above|below|right','Where to display Novelist Select content','Choice'),
287
('numReturnedItemsToShow','20',NULL,'Number of returned items to show on the check-in page','Integer'),
287
('numReturnedItemsToShow','20',NULL,'Number of returned items to show on the check-in page','Integer'),
288
('NumSavedReports', '20', NULL, 'By default, show this number of saved reports.', 'Integer'),
288
('numSearchResults','20',NULL,'Specify the maximum number of results to display on a page of results','Integer'),
289
('numSearchResults','20',NULL,'Specify the maximum number of results to display on a page of results','Integer'),
289
('numSearchRSSResults','50',NULL,'Specify the maximum number of results to display on a RSS page of results','Integer'),
290
('numSearchRSSResults','50',NULL,'Specify the maximum number of results to display on a RSS page of results','Integer'),
290
('OAI-PMH','0',NULL,'if ON, OAI-PMH server is enabled','YesNo'),
291
('OAI-PMH','0',NULL,'if ON, OAI-PMH server is enabled','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref (+6 lines)
Lines 32-34 Tools: Link Here
32
            - pref: UploadPurgeTemporaryFilesDays
32
            - pref: UploadPurgeTemporaryFilesDays
33
              class: integer
33
              class: integer
34
            - "days in cleanup_database cron job. NOTE: If you leave this field empty, the cron job will not delete any files. On the other hand a value of 0 means: delete all temporary files."
34
            - "days in cleanup_database cron job. NOTE: If you leave this field empty, the cron job will not delete any files. On the other hand a value of 0 means: delete all temporary files."
35
    Reports:
36
        -
37
            - By default, show
38
            - pref: NumSavedReports
39
              class: integer
40
            - reports on the Saved Reports page.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +2 lines)
Lines 1-4 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% USE Koha %]
2
3
3
[%- BLOCK area_name -%]
4
[%- BLOCK area_name -%]
4
    [%- SWITCH area -%]
5
    [%- SWITCH area -%]
Lines 86-91 $("#delColumn").on("click",function(){ Link Here
86
87
87
[% IF (saved1) %]
88
[% IF (saved1) %]
88
    var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, {
89
    var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, {
90
        'iDisplayLength': [% Koha.Preference('NumSavedReports') %],
89
        'bAutoWidth': false,
91
        'bAutoWidth': false,
90
        'sPaginationType': 'four_button',
92
        'sPaginationType': 'four_button',
91
        'aaSorting': [[ 1, "asc" ]],
93
        'aaSorting': [[ 1, "asc" ]],
92
- 

Return to bug 17465