Merge branch 'RED-9387' into 'release/2.349.x'

RED-9387 - Update hasComments flag based on entity log entries number of comments

See merge request redactmanager/persistence-service!550
This commit is contained in:
Andrei Isvoran 2024-06-19 12:17:41 +02:00
commit b7296a9b4f

View File

@ -116,6 +116,10 @@ public class AnalysisFlagsCalculationService {
hasUpdates = true;
}
if (entry.getNumberOfComments() > 0) {
hasComments = true;
}
}
log.info("Flag Calculations for file: {} took: {}ms", fileId, System.currentTimeMillis() - startTime);