mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
trim search requests
This commit is contained in:
parent
baca0d6244
commit
5c8bd5559d
@ -92,7 +92,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
throw new ArgumentNullException("searchTerm");
|
||||
}
|
||||
|
||||
searchTerm = searchTerm.RemoveDiacritics();
|
||||
searchTerm = searchTerm.Trim().RemoveDiacritics();
|
||||
|
||||
var terms = GetWords(searchTerm);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user