Report Manager - Season number fix

pull/702/head
Tavares André 10 years ago
parent b2b262c06a
commit a25f542bcb

@ -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;

Loading…
Cancel
Save