Fix Manga-Chapter loading

This commit is contained in:
2025-05-16 21:09:32 +02:00
parent 3a3306240f
commit d6e945741a
3 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ public class UpdateChaptersDownloadedJob : Job
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
{
context.Attach(Manga);
context.Entry(Manga).Collection<Chapter>(m => m.Chapters).Load();
return Manga.Chapters.Select(c => new UpdateSingleChapterDownloadedJob(c, this));
}
}