1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-31 07:52:37 +01:00

Added search to Yesterday in Upcoming View.

This commit is contained in:
Mark McDowall 2011-06-03 21:47:04 -07:00
parent 3dce6a13cd
commit 7291497ce0
2 changed files with 2 additions and 0 deletions

View File

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

View File

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