Pull request #5: RED-342: Add section name instead of number in report

Merge in RED/redaction-report-service from RED-342 to master

* commit '2f3575fdd7d038c169efaa8cc0232e9f53a73acd':
  RED-342: Add section name instead of number in report
This commit is contained in:
Dominique Eiflaender 2020-09-30 14:11:09 +02:00
commit 467daee2d2

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());
});
}