Added NextAiring to Series (ResultColumn), which is used for Series/Index. Added tests and fixed broken tests after adding new property.

This commit is contained in:
Mark McDowall 2011-09-28 10:56:30 -07:00
parent f014ddcfea
commit 6736afbeab
7 changed files with 144 additions and 12 deletions

View file

@ -174,7 +174,8 @@ namespace NzbDrone.Web.Controllers
Status = s.Status,
SeasonsCount = s.SeasonCount,
EpisodeCount = s.EpisodeCount,
EpisodeFileCount = s.EpisodeFileCount
EpisodeFileCount = s.EpisodeFileCount,
NextAiring = s.NextAiring == null ? String.Empty : s.NextAiring.Value.ToBestDateString()
}).ToList();
return series;