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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-5 / +5 lines)
Lines 67-72 function load_group_subgroups () { Link Here
67
}
67
}
68
68
69
$(document).ready(function(){
69
$(document).ready(function(){
70
    $('#limit').change(function() {
71
        $('#limitselect').submit();
72
    });
70
73
71
[% IF (saved1) %]
74
[% IF (saved1) %]
72
    var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, {
75
    var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, {
Lines 794-800 canned reports and writing custom SQL reports.</p> Link Here
794
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
797
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
795
<pre id="sql_output">[% sql |html %]</pre>
798
<pre id="sql_output">[% sql |html %]</pre>
796
799
797
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
800
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get" id="limitselect">
798
    <input type="hidden" name="phase" value="Run this report"/>
801
    <input type="hidden" name="phase" value="Run this report"/>
799
    <input type="hidden" name="reports" value="[% report_id %]"/>
802
    <input type="hidden" name="reports" value="[% report_id %]"/>
800
803
Lines 803-809 canned reports and writing custom SQL reports.</p> Link Here
803
    [% END %]
806
    [% END %]
804
807
805
    <label for="limit">Rows per page: </label>
808
    <label for="limit">Rows per page: </label>
806
    <select name="limit">
809
    <select name="limit" id="limit">
807
        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
810
        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
808
        [% FOREACH l IN limits %]
811
        [% FOREACH l IN limits %]
809
                [% IF l == limit %]
812
                [% IF l == limit %]
Lines 813-820 canned reports and writing custom SQL reports.</p> Link Here
813
                [% END %]
816
                [% END %]
814
        [% END %]
817
        [% END %]
815
    </select>
818
    </select>
816
817
    <input type="submit" value="Update" />
818
</form>
819
</form>
819
820
820
<div class="pages">[% pagination_bar %]</div>
821
<div class="pages">[% pagination_bar %]</div>
821
- 

Return to bug 16389