Fixed blank ForcedSortName

This commit is contained in:
Luke Pulverenti
2013-08-25 15:54:18 -04:00
parent 2beb589ee4
commit 1ea627a6e7
2 changed files with 18 additions and 5 deletions

View File

@@ -409,7 +409,12 @@ namespace MediaBrowser.Controller.Entities
{
get
{
return ForcedSortName ?? _sortName ?? (_sortName = CreateSortName());
if (!string.IsNullOrEmpty(ForcedSortName))
{
return ForcedSortName;
}
return _sortName ?? (_sortName = CreateSortName());
}
}