Refactored Browse Authors to be Browse People and allow the user to select the role to show.

After some experimentation, I think I need to implement the proper filtering system as there are 3 potential filters.

Added browse genres/tags on the top right nav bar temp while I figure out a better implementation for the idea.
This commit is contained in:
Joseph Milazzo 2025-06-07 11:33:50 -05:00
parent 7ef95b3e12
commit a7d4b11593
45 changed files with 326 additions and 98 deletions

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API.DTOs.Metadata;
using API.DTOs.Metadata.Browse;
using API.Entities;
using API.Extensions;
using API.Extensions.QueryExtensions;
@ -182,7 +183,7 @@ public class GenreRepository : IGenreRepository
.Select(sm => sm.Id)
.Distinct()
.Count(),
IssueCount = g.Chapters
ChapterCount = g.Chapters
.Select(ch => ch.Id)
.Distinct()
.Count()