mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 19:23:38 +01:00
Fix more analyzer warnings
This commit is contained in:
@@ -614,7 +614,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
if (!string.IsNullOrEmpty(ForcedSortName))
|
||||
{
|
||||
// Need the ToLower because that's what CreateSortName does
|
||||
_sortName = ModifySortChunks(ForcedSortName).ToLower();
|
||||
_sortName = ModifySortChunks(ForcedSortName).ToLowerInvariant();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -660,7 +660,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
return Name.TrimStart();
|
||||
}
|
||||
|
||||
var sortable = Name.Trim().ToLower();
|
||||
var sortable = Name.Trim().ToLowerInvariant();
|
||||
|
||||
foreach (var removeChar in ConfigurationManager.Configuration.SortRemoveCharacters)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user