PLT-6254: Search not in teams include removed members. (#6020)

Этот коммит содержится в:
George Goldberg
2017-04-07 19:49:02 +01:00
коммит произвёл GitHub
родитель de3995a1ce
Коммит ad2ab81ee4
2 изменённых файлов: 39 добавлений и 1 удалений

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

@@ -1298,7 +1298,7 @@ func (us SqlUserStore) SearchNotInTeam(notInTeamId string, term string, options
ON tm.UserId = Users.Id
AND tm.TeamId = :NotInTeamId
WHERE
tm.UserId IS NULL
(tm.UserId IS NULL OR tm.DeleteAt != 0)
SEARCH_CLAUSE
INACTIVE_CLAUSE
ORDER BY Users.Username ASC