mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
Report Manager - Season number fix
This commit is contained in:
parent
b2b262c06a
commit
a25f542bcb
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ namespace MediaBrowser.Api.Reports
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case HeaderMetadata.SeasonNumber:
|
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.SortField = "IndexNumber";
|
||||||
reportHeader.HeaderFieldType = ReportFieldType.Int;
|
reportHeader.HeaderFieldType = ReportFieldType.Int;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue