mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix order of post list returned (#10183)
This commit is contained in:
@@ -217,9 +217,10 @@ func getFlaggedPostsForUser(c *Context, w http.ResponseWriter, r *http.Request)
|
||||
|
||||
pl.AddPost(post)
|
||||
pl.AddOrder(post.Id)
|
||||
|
||||
}
|
||||
|
||||
pl.SortByCreateAt()
|
||||
|
||||
if err != nil {
|
||||
c.Err = err
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user