From 0c6d95615195a455b9c4bfc0242a7690f5a881ab Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 27 Feb 2013 09:55:50 -0500 Subject: Bug 836067 - backport bug 819432 to BMO 4.2 to improve search performance --- template/en/default/list/list.html.tmpl | 11 +++++++---- template/en/default/reports/report.html.tmpl | 4 +++- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'template/en') 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 %]
-

[% query FILTER html %]

-

Execution time: [% query_time FILTER html %] seconds

- [% IF query_explain.defined %] -
[% query_explain FILTER html %]
+

Total execution time: [% query_time FILTER html %] seconds

+ [% FOREACH query = queries %] +

[% query.sql FILTER html %]

+

Execution time: [% query.time FILTER html %] seconds

+ [% IF query.explain %] +
[% query.explain FILTER html %]
+ [% END %] [% END %]
[% 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 %] -

[% query FILTER html %]

+ [% FOREACH query = queries %] +

[% query.sql FILTER html %]

+ [% END %] [% END %]
-- cgit v1.2.3-24-g4f1b