mirror of https://github.com/lidarr/Lidarr
EpisodesWithoutFiles returns Series.* instead of Series.Title only.
This commit is contained in:
parent
9eb022fdf4
commit
6772db7e69
|
@ -227,7 +227,7 @@ namespace NzbDrone.Core.Providers
|
||||||
|
|
||||||
public virtual IList<Episode> EpisodesWithoutFiles(bool includeSpecials)
|
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
|
INNER JOIN Series
|
||||||
ON Episodes.SeriesId = Series.SeriesId
|
ON Episodes.SeriesId = Series.SeriesId
|
||||||
WHERE (EpisodeFileId=0 OR EpisodeFileId=NULL) AND Ignored = 0 AND AirDate<=@0",
|
WHERE (EpisodeFileId=0 OR EpisodeFileId=NULL) AND Ignored = 0 AND AirDate<=@0",
|
||||||
|
|
Loading…
Reference in New Issue