Don't tag a series as completed if count is 0. (#917)
This commit is contained in:
parent
f4864587bb
commit
ad3c8bb2c7
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ public class MetadataService : IMetadataService
|
|||
|
||||
series.Metadata.Count = chapters.Max(chapter => chapter.TotalCount);
|
||||
series.Metadata.PublicationStatus = PublicationStatus.OnGoing;
|
||||
if (chapters.Max(chapter => chapter.Count) >= series.Metadata.Count)
|
||||
if (chapters.Max(chapter => chapter.Count) >= series.Metadata.Count && series.Metadata.Count > 0)
|
||||
{
|
||||
series.Metadata.PublicationStatus = PublicationStatus.Completed;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue