[Koha-patches] [PATCH] Bug 5838: Format sql outout on guided reports
Jared Camins-Esakov
jcamins at bywatersolutions.com
Sun Mar 27 19:33:36 CEST 2011
From: Katrin Fischer <Katrin.Fischer.83 at web.de>
New suggestion: wrapping the sql output in <pre> with an unique id.
- sql can be formatted to be better readable
- sql can be hidden using css and the unique id
- pagination is pushed to its own line and better visible
Signed-off-by: Jared Camins-Esakov <jcamins at bywatersolutions.com>
---
.../en/modules/reports/guided_reports_start.tmpl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
index 6933393..eb8d4fb 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
@@ -499,8 +499,8 @@ NAME="name" -->"><!-- TMPL_VAR NAME="name"--></label></td><td>
<h1><!-- TMPL_VAR NAME="name" --></h1>
<!-- TMPL_IF NAME="notes" --><p><!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="unlimited_total" --><p>Total number of rows matching the (unlimited) query is <!-- TMPL_VAR NAME="unlimited_total" -->.</p><!-- /TMPL_IF -->
-<!-- TMPL_VAR name="sql" -->
-<!-- TMPL_VAR NAME='pagination_bar' DEFAULT="" -->
+<pre id="sql_output"><!-- TMPL_VAR name="sql" --></pre>
+<p><!-- TMPL_VAR NAME='pagination_bar' DEFAULT="" --></p>
<!-- TMPL_UNLESS name="errors" -->
<table>
<tr><!-- TMPL_LOOP NAME="header_row" --><th><!-- TMPL_VAR NAME="cell" --></th><!-- /TMPL_LOOP --></tr>
--
1.7.2.3
More information about the Koha-patches
mailing list