mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-02 08:23:04 +00:00
trim search requests
This commit is contained in:
@@ -92,7 +92,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
throw new ArgumentNullException("searchTerm");
|
||||
}
|
||||
|
||||
searchTerm = searchTerm.RemoveDiacritics();
|
||||
searchTerm = searchTerm.Trim().RemoveDiacritics();
|
||||
|
||||
var terms = GetWords(searchTerm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user