Fixed a bug where when deleting a chapter, if it's the last chapter left, it will now delete the Series as well.
This commit is contained in:
parent
4261b61f0f
commit
1d9084fe49
5 changed files with 29 additions and 4 deletions
|
|
@ -79,6 +79,12 @@ public static class IncludesExtensions
|
|||
.Include(c => c.ExternalReviews);
|
||||
}
|
||||
|
||||
if (includes.HasFlag(ChapterIncludes.ExternalRatings))
|
||||
{
|
||||
queryable = queryable
|
||||
.Include(c => c.ExternalRatings);
|
||||
}
|
||||
|
||||
return queryable.AsSplitQuery();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue