Added search to Yesterday in Upcoming View.

pull/3113/head
Mark McDowall 14 years ago
parent 3dce6a13cd
commit 7291497ce0

@ -30,6 +30,7 @@ namespace NzbDrone.Web.Controllers
var upcoming = _upcomingEpisodesProvider.Yesterday().Select(e => new UpcomingEpisodeModel var upcoming = _upcomingEpisodesProvider.Yesterday().Select(e => new UpcomingEpisodeModel
{ {
SeriesId = e.Series.SeriesId, SeriesId = e.Series.SeriesId,
EpisodeId = e.EpisodeId,
SeriesName = e.Series.Title, SeriesName = e.Series.Title,
SeasonNumber = e.SeasonNumber, SeasonNumber = e.SeasonNumber,
EpisodeNumber = e.EpisodeNumber, EpisodeNumber = e.EpisodeNumber,

@ -5,6 +5,7 @@ namespace NzbDrone.Web.Models
public class UpcomingEpisodeModel public class UpcomingEpisodeModel
{ {
public int SeriesId { get; set; } public int SeriesId { get; set; }
public int EpisodeId { get; set; }
public string SeriesName { get; set; } public string SeriesName { get; set; }
public int SeasonNumber { get; set; } public int SeasonNumber { get; set; }
public int EpisodeNumber { get; set; } public int EpisodeNumber { get; set; }

Loading…
Cancel
Save