mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-09 13:28:39 +00:00
Order comments properly
This commit is contained in:
parent
1a23108820
commit
8119a7f030
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers {
|
|||
.Include(c => c.Target)
|
||||
.Include(c => c.Poster)
|
||||
.Where(c => c.Target.Username == username)
|
||||
.OrderBy(c => c.Timestamp)
|
||||
.ToListAsync();
|
||||
|
||||
string outputXml = comments.Aggregate(string.Empty, (current, comment) => current + comment.Serialize());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue