Skip to content

Commit

Permalink
Fixed sorting field for campaigns
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Nesterov committed Apr 17, 2020
1 parent 0395bdf commit 4a85238
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public async Task<CampaignsPage> GetCampaignsAsync(CampaignListRequest request)
}

var result = await query
.OrderByDescending(i => i.CreatedBy)
.OrderByDescending(i => i.CreationDate)
.Skip(request.Skip)
.Take(request.Take)
.ToListAsync();
Expand Down

0 comments on commit 4a85238

Please sign in to comment.