1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-27 00:22:33 +00:00

Closes #14: Soft delete on DocumentTag + audit log ordering

This commit is contained in:
jendib
2015-08-28 01:02:33 +02:00
parent 86cae53789
commit 08e4f6ddae
5 changed files with 119 additions and 60 deletions

View File

@@ -47,7 +47,7 @@ public class AuditLogResource extends BaseResource {
// On a document or a user?
PaginatedList<AuditLogDto> paginatedList = PaginatedLists.create(20, 0);
SortCriteria sortCriteria = new SortCriteria(1, true);
SortCriteria sortCriteria = new SortCriteria(1, false);
AuditLogCriteria criteria = new AuditLogCriteria();
if (documentId == null) {
// Search logs for a user