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 965-970 canned reports and writing custom SQL reports.</p> Link Here
965
            headers = [% header_row.json %];
965
            headers = [% header_row.json %];
966
            var results = [% results.json %]
966
            var results = [% results.json %]
967
967
968
            if ($('input[name="chart-exclude-last"]').prop('checked')) {
969
                results.splice(-1, 1);
970
            }
971
968
            $('select[name="y"]').each(function( index ) {
972
            $('select[name="y"]').each(function( index ) {
969
                y_elements.push( $(this).val() );
973
                y_elements.push( $(this).val() );
970
            });
974
            });
971
- 

Return to bug 17282