Load entry references and collections

This commit is contained in:
2025-05-18 13:53:23 +02:00
parent 698d138642
commit 4e7a725fee
5 changed files with 9 additions and 1 deletions

View File

@ -36,6 +36,7 @@ public class DownloadAvailableChaptersJob : Job
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
{
context.Entry(Manga).Reference<LocalLibrary>(m => m.Library).Load();
return Manga.Chapters.Where(c => c.Downloaded == false).Select(chapter => new DownloadSingleChapterJob(chapter, this));
}
}