EpisodesWithoutFiles returns Series.* instead of Series.Title only.

This commit is contained in:
Mark McDowall 2012-01-24 17:11:16 -08:00
parent 9eb022fdf4
commit 6772db7e69
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ namespace NzbDrone.Core.Providers
public virtual IList<Episode> EpisodesWithoutFiles(bool includeSpecials)
{
var episodes = _database.Query<Episode, Series>(@"SELECT Episodes.*, Series.Title FROM Episodes
var episodes = _database.Query<Episode, Series>(@"SELECT Episodes.*, Series.* FROM Episodes
INNER JOIN Series
ON Episodes.SeriesId = Series.SeriesId
WHERE (EpisodeFileId=0 OR EpisodeFileId=NULL) AND Ignored = 0 AND AirDate<=@0",