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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (+3 lines)
Lines 926-931 Link Here
926
                            <!-- /.rows -->
926
                            <!-- /.rows -->
927
                            <fieldset class="action">
927
                            <fieldset class="action">
928
                                <input type="hidden" name="op" value="run" />
928
                                <input type="hidden" name="op" value="run" />
929
                                [% IF ( template_id ) %]
930
                                    <input type="hidden" name="template" value="[% template_id %]" />
931
                                [% END %]
929
                                <button type="submit" class="btn btn-primary">Run the report</button>
932
                                <button type="submit" class="btn btn-primary">Run the report</button>
930
                            </fieldset>
933
                            </fieldset>
931
                        </form>
934
                        </form>
(-)a/reports/guided_reports.pl (-1 / +1 lines)
Lines 971-976 if ( $op eq 'run' ) { Link Here
971
                'auth_val_errors' => \@authval_errors,
971
                'auth_val_errors' => \@authval_errors,
972
                'enter_params'    => 1,
972
                'enter_params'    => 1,
973
                'id'              => $report_id,
973
                'id'              => $report_id,
974
                'template_id'     => $template_id,
974
            );
975
            );
975
        } else {
976
        } else {
976
            my ( $sql, $header_types ) = $report->prep_report( \@param_names, \@sql_params );
977
            my ( $sql, $header_types ) = $report->prep_report( \@param_names, \@sql_params );
977
- 

Return to bug 39298