Enhance user and media management with sorting and statistics: add sorting options to user and media listing endpoints, implement media statistics retrieval, and update frontend components for sorting and displaying media processing times. Refactor related query handlers and API types to support new features.
This commit is contained in:
@@ -40,6 +40,8 @@ public static class AdminUserEndpoints
|
||||
string? search,
|
||||
Guid? roleId,
|
||||
bool? isBlocked,
|
||||
string? sort,
|
||||
bool desc,
|
||||
ISender sender,
|
||||
CancellationToken cancellationToken
|
||||
)
|
||||
@@ -50,7 +52,9 @@ public static class AdminUserEndpoints
|
||||
pageSize <= 0 ? 20 : pageSize,
|
||||
search,
|
||||
roleId,
|
||||
isBlocked
|
||||
isBlocked,
|
||||
sort,
|
||||
desc
|
||||
),
|
||||
cancellationToken
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user