summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-02-27 15:55:50 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-02-27 15:55:50 +0100
commit0c6d95615195a455b9c4bfc0242a7690f5a881ab (patch)
tree281e7a8d7a802fdf0c88de8dd7e9d14b7ba44dec /template/en
parentd388c8203d3fb1f2f97569dd9dbdffcd5acc8aa2 (diff)
downloadbugzilla-0c6d95615195a455b9c4bfc0242a7690f5a881ab.tar.gz
bugzilla-0c6d95615195a455b9c4bfc0242a7690f5a881ab.tar.xz
Bug 836067 - backport bug 819432 to BMO 4.2 to improve search performance
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/list/list.html.tmpl11
-rw-r--r--template/en/default/reports/report.html.tmpl4
2 files changed, 10 insertions, 5 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 055cd2e8c..cda06ac21 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -60,10 +60,13 @@
[% IF debug %]
<div class="bz_query_debug">
- <p>[% query FILTER html %]</p>
- <p>Execution time: [% query_time FILTER html %] seconds</p>
- [% IF query_explain.defined %]
- <pre>[% query_explain FILTER html %]</pre>
+ <p>Total execution time: [% query_time FILTER html %] seconds</p>
+ [% FOREACH query = queries %]
+ <p>[% query.sql FILTER html %]</p>
+ <p>Execution time: [% query.time FILTER html %] seconds</p>
+ [% IF query.explain %]
+ <pre>[% query.explain FILTER html %]</pre>
+ [% END %]
[% END %]
</div>
[% END %]
diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl
index 94725ae81..38b64df0b 100644
--- a/template/en/default/reports/report.html.tmpl
+++ b/template/en/default/reports/report.html.tmpl
@@ -81,7 +81,9 @@
%]
[% IF debug %]
- <p>[% query FILTER html %]</p>
+ [% FOREACH query = queries %]
+ <p>[% query.sql FILTER html %]</p>
+ [% END %]
[% END %]
<div align="center">