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

@ -37,6 +37,8 @@ public class UpdateSingleChapterDownloadedJob : Job
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
{
context.Entry(Chapter).Reference<Manga>(c => c.ParentManga).Load();
context.Entry(Chapter.ParentManga).Reference<LocalLibrary>(m => m.Library).Load();
Chapter.Downloaded = Chapter.CheckDownloaded();
try