mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-30 23:03:02 +00:00 
			
		
		
		
	Fix #2243 (whitespaces are trimmed also for normal search)
This commit is contained in:
		| @@ -1069,7 +1069,7 @@ def reconnect(): | ||||
| def search(): | ||||
|     term = request.args.get("query") | ||||
|     if term: | ||||
|         return redirect(url_for('web.books_list', data="search", sort_param='stored', query=term)) | ||||
|         return redirect(url_for('web.books_list', data="search", sort_param='stored', query=term.strip())) | ||||
|     else: | ||||
|         return render_title_template('search.html', | ||||
|                                      searchterm="", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ozzieisaacs
					Ozzieisaacs