[Koha-patches] [PATCH] [SIGNED-OFF] Bug 6099: Pagination bar on guided reports result page broken

Frédéric Demians f.demians at tamil.fr
Sat May 14 15:21:29 CEST 2011


From: Katrin Fischer <Katrin.Fischer.83 at web.de>

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.

[2011.05.14] I confirm the bug, and that this patch fix it.

Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
---
 .../en/modules/reports/guided_reports_start.tt     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
index 24c5a13..589bcdf 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
@@ -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>
-- 
1.7.4



More information about the Koha-patches mailing list