mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed MOB-1656: Audit Log: Log ordering is incorrect for "Last N" results
- Added option to have results in either ascending or descending order - RM uses descending listings where the query results are limited git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16628 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1323,6 +1323,7 @@ public class AuditComponentImpl implements AuditComponent
|
||||
*/
|
||||
public void auditQuery(
|
||||
AuditQueryCallback callback,
|
||||
boolean forward,
|
||||
String applicationName,
|
||||
String user,
|
||||
Long from,
|
||||
@@ -1338,7 +1339,8 @@ public class AuditComponentImpl implements AuditComponent
|
||||
return;
|
||||
}
|
||||
|
||||
auditDAO.findAuditEntries(callback, applicationName, user, from, to, maxResults);
|
||||
auditDAO.findAuditEntries(
|
||||
callback, forward, applicationName, user, from, to, maxResults);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1346,6 +1348,7 @@ public class AuditComponentImpl implements AuditComponent
|
||||
*/
|
||||
public void auditQuery(
|
||||
AuditQueryCallback callback,
|
||||
boolean forward,
|
||||
String applicationName,
|
||||
String user,
|
||||
Long from,
|
||||
@@ -1362,6 +1365,7 @@ public class AuditComponentImpl implements AuditComponent
|
||||
return;
|
||||
}
|
||||
|
||||
auditDAO.findAuditEntries(callback, applicationName, user, from, to, searchKey, searchValue, maxResults);
|
||||
auditDAO.findAuditEntries(
|
||||
callback, forward, applicationName, user, from, to, searchKey, searchValue, maxResults);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user