mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed series grid after save so it has proper counts.
This commit is contained in:
parent
56fdf1a040
commit
3a065b86f1
2 changed files with 5 additions and 5 deletions
|
@ -42,11 +42,11 @@ namespace NzbDrone.Core.Providers
|
|||
return series;
|
||||
}
|
||||
|
||||
public virtual IList<Series> GetAllSeriesWithEpisodeCount(bool ignoreSpecials)
|
||||
public virtual IList<Series> GetAllSeriesWithEpisodeCount(bool ignoreSpecialsInSeasonCount)
|
||||
{
|
||||
var seasonNumber = 0;
|
||||
|
||||
if (!ignoreSpecials)
|
||||
if (!ignoreSpecialsInSeasonCount)
|
||||
seasonNumber = -1;
|
||||
|
||||
var series = _database.Fetch<Series, QualityProfile>(@"SELECT Series.*, COUNT (NULLIF(Ignored, 1)) AS EpisodeCount,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue