Этот коммит содержится в:
Carlos Tadeu Panato Junior
2018-09-10 16:13:21 +02:00
коммит произвёл GitHub
родитель 435ce3df4b a8d116b381
Коммит 1f87596e75
6 изменённых файлов: 19 добавлений и 10 удалений

Просмотреть файл

@@ -705,8 +705,10 @@ func (a *App) SearchPostsInTeam(terms string, userId string, teamId string, isOr
return nil, presult.Err
} else {
for _, p := range presult.Data.([]*model.Post) {
postList.AddPost(p)
postList.AddOrder(p.Id)
if p.DeleteAt == 0 {
postList.AddPost(p)
postList.AddOrder(p.Id)
}
}
}
}