summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-03-07 23:47:36 +0100
committerDylan William Hardison <dylan@hardison.net>2017-05-24 20:24:54 +0200
commit50fc9d77128db4f8565265047166c6ef61bac5c5 (patch)
treeeadc23eeaca476412e36c63161f5a2e4ab96aabd /template/en/default/list
parent0ea91b298e8fc1c439f42c9288247e9223ce552e (diff)
downloadbugzilla-50fc9d77128db4f8565265047166c6ef61bac5c5.tar.gz
bugzilla-50fc9d77128db4f8565265047166c6ef61bac5c5.tar.xz
Bug 1307485 - Add code to run a subset of buglist.cgi search queries against the ES backend
Diffstat (limited to 'template/en/default/list')
-rw-r--r--template/en/default/list/list.html.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 1c49fee98..724802e3d 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -316,5 +316,13 @@
[% ELSE %]
[% bugs.size %] [%+ terms.bugs %] found.
[% END %]
+ [% IF elastic %]
+ <br>
+ ElasticSearch took [% elastic_query_time FILTER html %] seconds.
+ <a href="buglist.cgi?[% urlquerypart FILTER html %]&amp;elastic=0">Try without ElasticSearch</a>
+ [% ELSIF was_elastic %]
+ <br>
+ Search took [% query_time FILTER html %] seconds.
+ [% END %]
</span>
[% END %]