Index: lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/service/ScratchieServiceImpl.java =================================================================== diff -u -r623d50a372183704fc19042e248f9841ca85928e -r547b3df12142c7d4783b8fdc39ccf3a2fe591fba --- lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/service/ScratchieServiceImpl.java (.../ScratchieServiceImpl.java) (revision 623d50a372183704fc19042e248f9841ca85928e) +++ lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/service/ScratchieServiceImpl.java (.../ScratchieServiceImpl.java) (revision 547b3df12142c7d4783b8fdc39ccf3a2fe591fba) @@ -1349,9 +1349,10 @@ } } - row = new ExcelCell[9 + (maxAnswers * 2)]; + row = new ExcelCell[10 + (maxAnswers * 2)]; columnCount = 0; row[columnCount++] = new ExcelCell(getMessage("label.student.name"), true); + row[columnCount++] = new ExcelCell(getMessage("label.student.username"), true); row[columnCount++] = new ExcelCell(getMessage("label.team"), true); row[columnCount++] = new ExcelCell(getMessage("label.question.number"), true); row[columnCount++] = new ExcelCell(getMessage("label.question"), true); @@ -1382,10 +1383,12 @@ int questionCount = 1; for (ScratchieItem item : summary.getItems()) { - row = new ExcelCell[9 + (maxAnswers * 2)]; + row = new ExcelCell[10 + (maxAnswers * 2)]; columnCount = 0; - // user name + // learner name row[columnCount++] = new ExcelCell(user.getFirstName() + " " + user.getLastName(), false); + // username + row[columnCount++] = new ExcelCell(user.getLoginName(), false); // group name row[columnCount++] = new ExcelCell(summary.getSessionName(), false); // question number