Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)

137948 jvonka: REPO-1785: Get Audit App Info - minor code formatting & consistency fix 
   - noticed whilst verifying REPO-2585


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137978 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2017-07-12 12:11:43 +00:00
parent fa37e7b8f2
commit 03ec9fbbcf
2 changed files with 12 additions and 5 deletions

View File

@@ -187,7 +187,9 @@ public class AuditImpl implements Audit
Pair<String, Boolean> sortProp = getAuditEntrySortProp(parameters);
Boolean forward = true;
if ((sortProp != null) && (sortProp.getFirst().equals(CREATED_AT)))
{
forward = sortProp.getSecond();
}
// Parse where clause properties.
List<AuditEntry> entriesAudit = new ArrayList<AuditEntry>();