mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
EpisodesWithFiles now returns the full series object, instead of just the SeriesTitle (So we don't need to add junk to the Episode class)
This commit is contained in:
parent
421ba466a8
commit
0a65e85e21
6 changed files with 46 additions and 30 deletions
|
@ -53,15 +53,12 @@ namespace NzbDrone.Core.Repository
|
|||
}
|
||||
}
|
||||
|
||||
[Ignore]
|
||||
[ResultColumn]
|
||||
public Series Series { get; set; }
|
||||
|
||||
[ResultColumn]
|
||||
public EpisodeFile EpisodeFile { get; set; }
|
||||
|
||||
[ResultColumn]
|
||||
public string SeriesTitle { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
string seriesTitle = Series == null ? "[NULL]" : Series.Title;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue