diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/post.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/post.go b/app/post.go index 4d91e8122..5e97f4443 100644 --- a/app/post.go +++ b/app/post.go @@ -645,6 +645,8 @@ func (a *App) SearchPostsInTeam(terms string, userId string, teamId string, isOr } } + posts.SortByCreateAt() + return posts, nil } } |