MM-20305: Adds ability to choose whether deleted teams are included in the count query. (#13181)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a1a2bb3130
Коммит
31ac88ef69
@@ -659,7 +659,7 @@ func (a *App) GetAllTeamsPage(offset int, limit int) ([]*model.Team, *model.AppE
|
||||
}
|
||||
|
||||
func (a *App) GetAllTeamsPageWithCount(offset int, limit int) (*model.TeamsWithCount, *model.AppError) {
|
||||
totalCount, err := a.Srv.Store.Team().AnalyticsTeamCount()
|
||||
totalCount, err := a.Srv.Store.Team().AnalyticsTeamCount(true)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user