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 750-759 canned reports and writing custom SQL reports.</p> Link Here
750
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
750
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
751
<pre id="sql_output">[% sql |html %]</pre>
751
<pre id="sql_output">[% sql |html %]</pre>
752
752
753
<form>
753
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
754
    <input type="hidden" name="phase" value="Run this report"/>
754
    <input type="hidden" name="phase" value="Run this report"/>
755
    <input type="hidden" name="reports" value="[% report_id %]"/>
755
    <input type="hidden" name="reports" value="[% report_id %]"/>
756
756
757
    [% FOREACH p IN sql_params %]
758
        <input type="hidden" name="sql_params" value="[% p %]"/>
759
    [% END %]
760
757
    <label for="limit">Rows per page: </label>
761
    <label for="limit">Rows per page: </label>
758
    <select name="limit">
762
    <select name="limit">
759
        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
763
        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
(-)a/reports/guided_reports.pl (-1 / +1 lines)
Lines 748-753 elsif ($phase eq 'Run this report'){ Link Here
748
                'errors'  => $errors,
748
                'errors'  => $errors,
749
                'pagination_bar'  => pagination_bar($url, $totpages, $input->param('page')),
749
                'pagination_bar'  => pagination_bar($url, $totpages, $input->param('page')),
750
                'unlimited_total' => $total,
750
                'unlimited_total' => $total,
751
                'sql_params'      => \@sql_params,
751
            );
752
            );
752
        }
753
        }
753
    }
754
    }
754
- 

Return to bug 9719