MM-20305: Adds ability to choose whether deleted teams are included in the count query. (#13181)

Этот коммит содержится в:
Martin Kraft
2019-11-27 07:50:15 -05:00
коммит произвёл GitHub
родитель a1a2bb3130
Коммит 31ac88ef69
11 изменённых файлов: 47 добавлений и 20 удалений

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

@@ -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)
}()