Updated Blazor UI tag/creator views. Altered logic for sorting favorite/blacklisted fields for tags/creators.
This commit is contained in:
@@ -54,7 +54,7 @@ public class CreatorSearchProviderTests(CreatorSearchProviderFixture fixture) :
|
||||
{
|
||||
var options = new SearchOptions<CreatorSearchCriteria, CreatorSortField>()
|
||||
{
|
||||
SortOptions = [new(CreatorSortField.Favorite, SortDirection.Ascending)]
|
||||
SortOptions = [new(CreatorSortField.Favorite, SortDirection.Descending)]
|
||||
};
|
||||
|
||||
var result = await SearchAsync(options);
|
||||
@@ -67,7 +67,7 @@ public class CreatorSearchProviderTests(CreatorSearchProviderFixture fixture) :
|
||||
{
|
||||
var options = new SearchOptions<CreatorSearchCriteria, CreatorSortField>()
|
||||
{
|
||||
SortOptions = [new(CreatorSortField.Blacklisted, SortDirection.Ascending)]
|
||||
SortOptions = [new(CreatorSortField.Blacklisted, SortDirection.Descending)]
|
||||
};
|
||||
|
||||
var result = await SearchAsync(options);
|
||||
|
||||
Reference in New Issue
Block a user