refs #5900 Log grouping fix
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-06-25 18:09:28 +02:00
parent fd69d69ff0
commit 631c0e3121
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ export default class Controller extends Section {
const day = 86400 * 1000; const day = 86400 * 1000;
const time = new Date(log.creationDate).getTime(); const time = new Date(log.creationDate).getTime();
const prevTime = prevLog && new Date(prevLog.creationDate).getTime(); const prevTime = prevLog && new Date(prevLog.creationDate).getTime();
const userChanged = !prevLog const userChanged = originChanged
|| log.userFk != prevLog.userFk || log.userFk != prevLog.userFk
|| time < prevTime - day * 2 || time < prevTime - day * 2
|| nLogs >= 6; || nLogs >= 6;