UX Overhaul Part 2 (#3112)

Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
Joe Milazzo 2024-08-16 19:37:12 -05:00 committed by GitHub
parent 0247bc5012
commit 3d8aa2ad24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
192 changed files with 14808 additions and 1874 deletions

View file

@ -59,6 +59,18 @@ public static class IncludesExtensions
.Include(c => c.People);
}
if (includes.HasFlag(ChapterIncludes.Genres))
{
queryable = queryable
.Include(c => c.Genres);
}
if (includes.HasFlag(ChapterIncludes.Tags))
{
queryable = queryable
.Include(c => c.Tags);
}
return queryable.AsSplitQuery();
}