mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 20:39:59 +00:00
Merge remote-tracking branch 'search_title/hotfix-searchform-title'
This commit is contained in:
commit
651260022c
@ -798,9 +798,9 @@ def search():
|
|||||||
for element in entries:
|
for element in entries:
|
||||||
ids.append(element.id)
|
ids.append(element.id)
|
||||||
searched_ids[current_user.id] = ids
|
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:
|
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'])
|
@web.route("/advanced_search", methods=['GET'])
|
||||||
|
Loading…
Reference in New Issue
Block a user