summaryrefslogtreecommitdiffstats
path: root/template/en/default/list/list.html.tmpl
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-03-17 21:53:57 +0100
committerDylan William Hardison <dylan@hardison.net>2017-03-17 21:53:57 +0100
commit1ad85fd04a2268a660fbf35068e730dda917d137 (patch)
tree3155f5d6d82532810cb653fa04b7e466199f7e71 /template/en/default/list/list.html.tmpl
parent4cc54c4c9acd39b1b0850c9d5a937f5f909d18d0 (diff)
downloadbugzilla-1ad85fd04a2268a660fbf35068e730dda917d137.tar.gz
bugzilla-1ad85fd04a2268a660fbf35068e730dda917d137.tar.xz
Bug 1307485 - Add code to run a subset of buglist.cgi search queries against the ES backend
This not the cause of test failures, so should live on in master now.
Diffstat (limited to 'template/en/default/list/list.html.tmpl')
-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 5e154f5df..051382a21 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -317,5 +317,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 %]