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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +5 lines)
Lines 580-589 canned reports and writing custom SQL reports.</p> Link Here
580
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
580
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
581
<pre id="sql_output">[% sql |html %]</pre>
581
<pre id="sql_output">[% sql |html %]</pre>
582
582
583
<form>
583
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
584
    <input type="hidden" name="phase" value="Run this report"/>
584
    <input type="hidden" name="phase" value="Run this report"/>
585
    <input type="hidden" name="reports" value="[% report_id %]"/>
585
    <input type="hidden" name="reports" value="[% report_id %]"/>
586
586
587
    [% FOREACH p IN sql_params %]
588
        <input type="hidden" name="sql_params" value="[% p %]"/>
589
    [% END %]
590
587
    <label for="limit">Rows per page: </label>
591
    <label for="limit">Rows per page: </label>
588
    <select name="limit">
592
    <select name="limit">
589
        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
593
        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
(-)a/reports/guided_reports.pl (-1 / +1 lines)
Lines 673-678 elsif ($phase eq 'Run this report'){ Link Here
673
                'errors'  => $errors,
673
                'errors'  => $errors,
674
                'pagination_bar'  => pagination_bar($url, $totpages, $input->param('page')),
674
                'pagination_bar'  => pagination_bar($url, $totpages, $input->param('page')),
675
                'unlimited_total' => $total,
675
                'unlimited_total' => $total,
676
                'sql_params'      => \@sql_params,
676
            );
677
            );
677
        }
678
        }
678
    }
679
    }
679
- 

Return to bug 9719