MM 17466 : Add custom post types to compliance exports (#13149)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
mattermod
родитель
2b52e1af0d
Коммит
1aca43d401
@@ -216,6 +216,7 @@ func (s SqlComplianceStore) MessageExport(after int64, limit int) ([]*model.Mess
|
||||
Posts.DeleteAt AS PostDeleteAt,
|
||||
Posts.Message AS PostMessage,
|
||||
Posts.Type AS PostType,
|
||||
Posts.Props AS PostProps,
|
||||
Posts.OriginalId AS PostOriginalId,
|
||||
Posts.RootId AS PostRootId,
|
||||
Posts.Props AS PostProps,
|
||||
@@ -243,7 +244,7 @@ func (s SqlComplianceStore) MessageExport(after int64, limit int) ([]*model.Mess
|
||||
LEFT JOIN Bots ON Bots.UserId = Posts.UserId
|
||||
WHERE
|
||||
(Posts.CreateAt > :StartTime OR Posts.EditAt > :StartTime OR Posts.DeleteAt > :StartTime) AND
|
||||
Posts.Type = ''
|
||||
Posts.Type NOT LIKE 'system_%'
|
||||
ORDER BY PostUpdateAt
|
||||
LIMIT :Limit`
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<li class="message">
|
||||
<span class="sent_time">{{.Props.SentTime}}</span>
|
||||
<span class="username">@{{.Props.Username}}</span>
|
||||
<span class="postusername">{{.Props.PostUsername}}</span>
|
||||
<span class="usertype">{{.Props.UserType}}</span>
|
||||
<span class="email">({{.Props.Email}}):</span>
|
||||
<span class="message">{{.Props.Message}}</span>
|
||||
|
||||
Ссылка в новой задаче
Block a user