Fix order of post list returned (#10183)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ce2c7110d3
Коммит
144686148b
@@ -217,9 +217,10 @@ func getFlaggedPostsForUser(c *Context, w http.ResponseWriter, r *http.Request)
|
|||||||
|
|
||||||
pl.AddPost(post)
|
pl.AddPost(post)
|
||||||
pl.AddOrder(post.Id)
|
pl.AddOrder(post.Id)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pl.SortByCreateAt()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.Err = err
|
c.Err = err
|
||||||
return
|
return
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user