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

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

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

Loading…
Cancel
Save