mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-5987 View Audit Log - removed spring default
This commit is contained in:
@@ -57,6 +57,7 @@ public class AuditLogGet extends BaseAuditRetrievalWebScript
|
||||
|
||||
private static final String PARAM_EXPORT = "export";
|
||||
private static final String ACCESS_AUDIT_CAPABILITY = "AccessAudit";
|
||||
private static final int DEFAULT_VIEW_LOG_MAX_SIZE = 100;
|
||||
|
||||
/** Content Streamer */
|
||||
protected ContentStreamer contentStreamer;
|
||||
@@ -102,7 +103,7 @@ public class AuditLogGet extends BaseAuditRetrievalWebScript
|
||||
*/
|
||||
public void setViewLogMaxSize(int viewLogMaxSize)
|
||||
{
|
||||
this.viewLogMaxSize = viewLogMaxSize;
|
||||
this.viewLogMaxSize = (viewLogMaxSize <= 0 ? DEFAULT_VIEW_LOG_MAX_SIZE: viewLogMaxSize);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user