Do not autoinclude chapters for Manga

This commit is contained in:
2025-05-16 15:15:11 +02:00
parent a5954ed5c8
commit 4247ae7740
3 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@ public class UpdateFilesDownloadedJob : Job
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
{
context.Attach(Manga);
context.Entry(Manga).Collection<Chapter>(m => m.Chapters).Load();
foreach (Chapter chapter in Manga.Chapters)
chapter.Downloaded = chapter.CheckDownloaded();