MM-20305: Adds ability to choose whether deleted teams are included in the count query. (#13181)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a1a2bb3130
Коммит
31ac88ef69
@@ -84,7 +84,7 @@ func (a *App) GetAnalytics(name string, teamId string) (model.AnalyticsRows, *mo
|
||||
|
||||
teamCountChan := make(chan store.StoreResult, 1)
|
||||
go func() {
|
||||
teamCount, err := a.Srv.Store.Team().AnalyticsTeamCount()
|
||||
teamCount, err := a.Srv.Store.Team().AnalyticsTeamCount(false)
|
||||
teamCountChan <- store.StoreResult{Data: teamCount, Err: err}
|
||||
close(teamCountChan)
|
||||
}()
|
||||
|
||||
Ссылка в новой задаче
Block a user