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 283-288 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
283
('NovelistSelectStaffView','tab','tab|above|below','Where to display Novelist Select content in the staff client','Choice'),
283
('NovelistSelectStaffView','tab','tab|above|below','Where to display Novelist Select content in the staff client','Choice'),
284
('NovelistSelectView','tab','tab|above|below|right','Where to display Novelist Select content','Choice'),
284
('NovelistSelectView','tab','tab|above|below|right','Where to display Novelist Select content','Choice'),
285
('numReturnedItemsToShow','20',NULL,'Number of returned items to show on the check-in page','Integer'),
285
('numReturnedItemsToShow','20',NULL,'Number of returned items to show on the check-in page','Integer'),
286
('NumSavedReports', '20', NULL, 'By default, show this number of saved reports.', 'Integer'),
286
('numSearchResults','20',NULL,'Specify the maximum number of results to display on a page of results','Integer'),
287
('numSearchResults','20',NULL,'Specify the maximum number of results to display on a page of results','Integer'),
287
('numSearchRSSResults','50',NULL,'Specify the maximum number of results to display on a RSS page of results','Integer'),
288
('numSearchRSSResults','50',NULL,'Specify the maximum number of results to display on a RSS page of results','Integer'),
288
('OAI-PMH','0',NULL,'if ON, OAI-PMH server is enabled','YesNo'),
289
('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 26-28 Tools: Link Here
26
                  staff: "Staff client only"
26
                  staff: "Staff client only"
27
                  both: "Both OPAC and staff client"
27
                  both: "Both OPAC and staff client"
28
            -
28
            -
29
    Reports:
30
        -
31
            - By default, show
32
            - pref: NumSavedReports
33
              class: integer
34
            - 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