Updated Blazor UI tag/creator views. Altered logic for sorting favorite/blacklisted fields for tags/creators.
All checks were successful
ci / build-test (push) Successful in 2m45s
ci / publish-image (push) Successful in 1m58s

This commit is contained in:
2026-04-18 21:39:58 -04:00
parent 1f91e46527
commit c203b2cbdb
13 changed files with 308 additions and 120 deletions

View File

@@ -44,8 +44,8 @@ public class CreatorSearchProvider(AppDbContext context) : SearchProvider<Creato
Expression<Func<CreatorSearchItem, object?>> selector = field switch
{
CreatorSortField.VoiceWorkCount => x => x.VoiceWorkCount,
CreatorSortField.Favorite => x => !x.Favorite,
CreatorSortField.Blacklisted => x => !x.Blacklisted,
CreatorSortField.Favorite => x => x.Favorite,
CreatorSortField.Blacklisted => x => x.Blacklisted,
_ => x => x.Name
};