Skip to content

Commit

Permalink
API - fix sorting on pubs/subs, fixes #1594
Browse files Browse the repository at this point in the history
  • Loading branch information
adelikat committed Jul 8, 2023
1 parent e4f7a0d commit 56fcae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TASVideos.Api/Controllers/SubmissionsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ public async Task<IActionResult> GetAll([FromQuery] SubmissionsRequest request)
{
var subs = (await _db.Submissions
.FilterBy(request)
.ToSubmissionsResponse()
.SortBy(request)
.Paginate(request)
.ToSubmissionsResponse()
.ToListAsync())
.FieldSelect(request);

Expand Down

0 comments on commit 56fcae4

Please sign in to comment.