From f782dc1857b5e0874d2c84eaed352437758630df Mon Sep 17 00:00:00 2001 From: Ghighi Eftimie Date: Thu, 14 Nov 2019 12:08:19 +0200 Subject: [PATCH] fix for search title --- cps/web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cps/web.py b/cps/web.py index 3edc42a5..98efa5a2 100644 --- a/cps/web.py +++ b/cps/web.py @@ -798,9 +798,9 @@ def search(): for element in entries: ids.append(element.id) searched_ids[current_user.id] = ids - return render_title_template('search.html', searchterm=term, entries=entries, page="search") + return render_title_template('search.html', searchterm=term, entries=entries, title=_(u"Search"), page="search") else: - return render_title_template('search.html', searchterm="", page="search") + return render_title_template('search.html', searchterm="", title=_(u"Search"), page="search") @web.route("/advanced_search", methods=['GET'])