diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-03-07 23:47:36 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-05-24 20:24:54 +0200 |
commit | 50fc9d77128db4f8565265047166c6ef61bac5c5 (patch) | |
tree | eadc23eeaca476412e36c63161f5a2e4ab96aabd /template | |
parent | 0ea91b298e8fc1c439f42c9288247e9223ce552e (diff) | |
download | bugzilla-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')
-rw-r--r-- | template/en/default/list/list.html.tmpl | 8 |
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 %]&elastic=0">Try without ElasticSearch</a> + [% ELSIF was_elastic %] + <br> + Search took [% query_time FILTER html %] seconds. + [% END %] </span> [% END %] |