Report Manager - Season number fix

This commit is contained in:
Tavares André 2015-04-17 21:24:04 +02:00
parent b2b262c06a
commit a25f542bcb

View File

@ -418,7 +418,7 @@ namespace MediaBrowser.Api.Reports
break;
case HeaderMetadata.SeasonNumber:
column = (i, r) => i.IndexNumber;
column = (i, r) => this.GetObject<Season, string>(i, (x) => x.IndexNumber == null ? "" : x.IndexNumber.ToString());
reportHeader.SortField = "IndexNumber";
reportHeader.HeaderFieldType = ReportFieldType.Int;
break;