pull/284/head
tidusjar 9 years ago
parent 605878700d
commit c43e3a93d2

@ -627,7 +627,7 @@ namespace PlexRequests.UI.Modules
RequestedUsers = new List<string> { Username },
Issues = IssueState.None,
ImdbId = showInfo.externals?.imdb ?? string.Empty,
SeasonCount = showInfo.seasonCount
SeasonCount = showInfo.seasonCount,
};
var seasonsList = new List<int>();
@ -645,6 +645,7 @@ namespace PlexRequests.UI.Modules
model.SeasonsRequested = "All";
break;
default:
model.SeasonsRequested = seasons;
var split = seasons.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
var seasonsCount = new int[split.Length];
for (var i = 0; i < split.Length; i++)

@ -169,7 +169,7 @@
{{/if_eq}}
</div>
{{#if_eq type "tv"}}
<div>Series Requested: {{seriesRequested}}</div>
<div>Seasons Requested: {{seriesRequested}}</div>
{{/if_eq}}
{{#if requestedUsers}}
<div>Requested By: {{requestedUsers}}</div>

Loading…
Cancel
Save