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
$(".goback").on("click",function(e){
74
$(".goback").on("click",function(e){
72
    e.preventDefault();
75
    e.preventDefault();
Lines 807-813 canned reports and writing custom SQL reports.</p> Link Here
807
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
810
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
808
<pre id="sql_output">[% sql |html %]</pre>
811
<pre id="sql_output">[% sql |html %]</pre>
809
812
810
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
813
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get" id="limitselect">
811
    <input type="hidden" name="phase" value="Run this report"/>
814
    <input type="hidden" name="phase" value="Run this report"/>
812
    <input type="hidden" name="reports" value="[% report_id %]"/>
815
    <input type="hidden" name="reports" value="[% report_id %]"/>
813
816
Lines 816-822 canned reports and writing custom SQL reports.</p> Link Here
816
    [% END %]
819
    [% END %]
817
820
818
    <label for="limit">Rows per page: </label>
821
    <label for="limit">Rows per page: </label>
819
    <select name="limit">
822
    <select name="limit" id="limit">
820
        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
823
        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
821
        [% FOREACH l IN limits %]
824
        [% FOREACH l IN limits %]
822
                [% IF l == limit %]
825
                [% IF l == limit %]
Lines 826-833 canned reports and writing custom SQL reports.</p> Link Here
826
                [% END %]
829
                [% END %]
827
        [% END %]
830
        [% END %]
828
    </select>
831
    </select>
829
830
    <input type="submit" value="Update" />
831
</form>
832
</form>
832
833
833
<div class="pages">[% pagination_bar %]</div>
834
<div class="pages">[% pagination_bar %]</div>
834
- 

Return to bug 16389