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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/chart.inc (+3 lines)
Lines 27-32 Link Here
27
                </select>
27
                </select>
28
            </div>
28
            </div>
29
29
30
            <label for="exclude-last">Exclude last line (Rollup)</label>
31
            <input id="exclude-last" name="chart-exclude-last" type="checkbox">
32
30
            [% column = 1 %]
33
            [% column = 1 %]
31
            <div>
34
            <div>
32
                [% FOREACH header IN header_row %]
35
                [% FOREACH header IN header_row %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +4 lines)
Lines 907-912 canned reports and writing custom SQL reports.</p> Link Here
907
            headers = [% header_row.json %];
907
            headers = [% header_row.json %];
908
            var results = [% results.json %]
908
            var results = [% results.json %]
909
909
910
            if ($('input[name="chart-exclude-last"]').prop('checked')) {
911
                results.splice(-1, 1);
912
            }
913
910
            $('select[name="y"]').each(function( index ) {
914
            $('select[name="y"]').each(function( index ) {
911
                y_elements.push( $(this).val() );
915
                y_elements.push( $(this).val() );
912
            });
916
            });
913
- 

Return to bug 17282