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 884-889 canned reports and writing custom SQL reports.</p> Link Here
884
            headers = [% header_row.json %];
884
            headers = [% header_row.json %];
885
            var results = [% results.json %]
885
            var results = [% results.json %]
886
886
887
            if ($('input[name="chart-exclude-last"]').prop('checked')) {
888
                results.splice(-1, 1);
889
            }
890
887
            $('select[name="y"]').each(function( index ) {
891
            $('select[name="y"]').each(function( index ) {
888
                y_elements.push( $(this).val() );
892
                y_elements.push( $(this).val() );
889
            });
893
            });
890
- 

Return to bug 17282