Bug 6340: Pagination bar on guided reports result page broken

The pagination on the guided reports page was not showing up.
TT problem.

To test:
Add a sql report with more than 20 results.
Example: select * from borrowers
Without the patch, only the first 20 results will show and no pagination bar.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Katrin Fischer 2011-05-14 12:36:25 +02:00 committed by Chris Cormack
parent 14364d9866
commit ad6ec128e7
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ NAME="name" -->">[% order_b.name %]</label></td><td>
[% IF ( notes ) %]<p>[% notes %]</p>[% END %]
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
<pre id="sql_output">[% sql %]</pre>
<div class="pages">[% DEFAULT pagination_bar="" %]</div>
<div class="pages">[% pagination_bar %]</div>
[% UNLESS ( errors ) %]
<table>
<tr>[% FOREACH header_ro IN header_row %]<th>[% header_ro.cell %]</th>[% END %]</tr>