1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-31 11:22:06 +00:00

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

View file

@ -227,7 +227,7 @@ public virtual IList<Episode> GetEpisodesByParseResult(EpisodeParseResult parseR
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",