From 7b6774fba294988693ea227717dc789db898072c Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 10 Sep 2015 14:32:59 +0300 Subject: UI improvements --- servo/views/customer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servo/views/customer.py') diff --git a/servo/views/customer.py b/servo/views/customer.py index 455126e..71beff5 100644 --- a/servo/views/customer.py +++ b/servo/views/customer.py @@ -346,7 +346,7 @@ def search(request): if kind == 'contact': customers = customers.filter(is_company=False) - title = _('Search results for "%s"') % query + title = _('%d results for "%s"') % (customers.count(), query) return render(request, "customers/search.html", locals()) -- cgit v1.2.3