summaryrefslogtreecommitdiffstats
path: root/app/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/post.go')
-rw-r--r--app/post.go2
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
}
}