From 3e8feb517d2cc4022ff3afd787478376db59fd10 Mon Sep 17 00:00:00 2001 From: yvesf Date: Wed, 1 Dec 2010 17:27:07 +0100 Subject: fix request time --- templates/search.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/search.html') diff --git a/templates/search.html b/templates/search.html index 5e74c8e..87ff510 100644 --- a/templates/search.html +++ b/templates/search.html @@ -39,8 +39,9 @@ {% endblock %} {% block content %} - Matched {{ books.__len__() }} Book{% if books.__len__() > 1 %}s{% endif %} in {{ "%0.0f"|format(time*1000) }}ms. {% if books %} + Matched {{ books.__len__() }} Book{% if books.__len__() > 1 %}s{% endif %} + in {{ "%.0f"|format(time_taken*1000) }}ms {% for docnum, book in books.items() %}

{{ book['filename'] }} -- cgit v1.2.1