Added sort audit to nodes actually being sorted
(cherry picked from commit 36069aa813)
This commit is contained in:
committed by
Sebastiaan Janssen
parent
d31bd8755e
commit
b1fd9e6f16
@@ -2932,6 +2932,7 @@ public class ContentService : RepositoryService, IContentService
|
||||
// save
|
||||
saved.Add(content);
|
||||
_documentRepository.Save(content);
|
||||
Audit(AuditType.Sort, userId, content.Id, "Sorting content performed by user");
|
||||
}
|
||||
|
||||
// first saved, then sorted
|
||||
@@ -2947,8 +2948,7 @@ public class ContentService : RepositoryService, IContentService
|
||||
{
|
||||
scope.Notifications.Publish(new ContentPublishedNotification(published, eventMessages));
|
||||
}
|
||||
|
||||
Audit(AuditType.Sort, userId, 0, "Sorting content performed by user");
|
||||
|
||||
return OperationResult.Succeed(eventMessages);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user