aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/search/sidebar.htm4
-rw-r--r--www/index.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/data/templates/search/sidebar.htm b/data/templates/search/sidebar.htm
index eaddaeb..8665706 100644
--- a/data/templates/search/sidebar.htm
+++ b/data/templates/search/sidebar.htm
@@ -5,3 +5,7 @@
{% include 'search/sidebar-filter.htm' with {'type': 'domain', 'title': 'Domain'} %}
{% include 'search/sidebar-filter.htm' with {'type': 'language', 'title': 'Language'} %}
{% include 'search/sidebar-filter.htm' with {'type': 'type', 'title': 'Type'} %}
+
+<p class="muted">
+ Query took {{queryTime}}.
+</p>
diff --git a/www/index.php b/www/index.php
index 0412f82..2598a43 100644
--- a/www/index.php
+++ b/www/index.php
@@ -107,7 +107,7 @@ foreach ($res->aggregations as $key => &$aggregation) {
render(
'search',
array(
- 'queryTime' => round($timeEnd - $timeBegin, 2) . 'ms',
+ 'queryTime' => round($timeEnd - $timeBegin, 2) . 's',
'query' => $query,
'cleanQuery' => $cleanQuery,
'urlNoSite' => $urlNoSite,