patched migration

This commit is contained in:
Timo Bejan 2021-11-22 14:37:15 +02:00
parent 63a5c6cd10
commit 1d3b499ce1

View File

@ -843,7 +843,7 @@ public class MigrationService {
.lastProcessed(oldFile.getLastProcessed())
.numberOfAnalyses(oldFile.getNumberOfAnalyses())
.assignee(oldFile.getCurrentReviewer())
.lastApprover(workflowStatus == WorkflowStatus.APPROVED ? oldFile.getLastReviewer() : null)
.lastApprover(workflowStatus == WorkflowStatus.APPROVED ? oldFile.getCurrentReviewer() : null)
.lastReviewer(oldFile.getLastReviewer())
.lastManualRedaction(oldFile.getLastManualRedaction())
.hasRedactions(oldFile.isHasRedactions())