RED-342: Add section name instead of number in report

This commit is contained in:
deiflaender 2020-09-30 13:58:59 +02:00
parent c4247e9249
commit 2f3575fdd7

View File

@ -57,7 +57,7 @@ public class ReportGenerationService {
XWPFTableRow row = table.createRow();
row.getCell(0).setText(fileRedactionLog.getFilename());
row.getCell(1).setText(String.valueOf(page));
row.getCell(2).setText(String.valueOf(redactionLogEntry.getSectionNumber()));
row.getCell(2).setText(redactionLogEntry.getSection());
row.getCell(3).setText(redactionLogEntry.getReason());
});
}