update file responses

This commit is contained in:
Luke Pulverenti
2017-05-05 13:55:38 -04:00
parent 364c8206bf
commit 3a8b567f14
22 changed files with 63 additions and 89 deletions

View File

@@ -57,13 +57,10 @@ namespace MediaBrowser.Controller.Entities.TV
/// <value>The index number.</value>
public int? IndexNumberEnd { get; set; }
[IgnoreDataMember]
public string SeriesSortName { get; set; }
public string FindSeriesSortName()
{
var series = Series;
return series == null ? SeriesSortName : series.SortName;
return series == null ? SeriesName : series.SortName;
}
[IgnoreDataMember]

View File

@@ -51,9 +51,6 @@ namespace MediaBrowser.Controller.Entities.TV
get { return SeriesId; }
}
[IgnoreDataMember]
public string SeriesSortName { get; set; }
public override double? GetDefaultPrimaryImageAspectRatio()
{
double value = 2;
@@ -65,7 +62,7 @@ namespace MediaBrowser.Controller.Entities.TV
public string FindSeriesSortName()
{
var series = Series;
return series == null ? SeriesSortName : series.SortName;
return series == null ? SeriesName : series.SortName;
}
// Genre, Rating and Stuido will all be the same