From 31924877ee73ffb3179166eccf04f0bc27da9831 Mon Sep 17 00:00:00 2001 From: Nadim Ritter Date: Thu, 27 Jun 2024 13:13:43 +0200 Subject: [PATCH] SEBSP-131 use lastname + firstname instead of fullname in moodle --- .../servicelayer/lms/impl/moodle/legacy/MoodleCourseAccess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/legacy/MoodleCourseAccess.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/legacy/MoodleCourseAccess.java index 370e95a1..f7a1d360 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/legacy/MoodleCourseAccess.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/legacy/MoodleCourseAccess.java @@ -420,7 +420,7 @@ public class MoodleCourseAccess implements CourseAccessAPI { additionalAttributes.put("descriptionformat", String.valueOf(userDetails[0].descriptionformat)); return new ExamineeAccountDetails( userDetails[0].id, - userDetails[0].fullname, + userDetails[0].lastname + " " + userDetails[0].firstname, userDetails[0].username, userDetails[0].email, additionalAttributes);