From d6c000b5138246134f279ceba2a3b914af2d6c1b Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 8 Feb 2022 08:43:10 +0100 Subject: [PATCH] SEBSERV-175 fixed --- .../servicelayer/lms/impl/moodle/MoodleCourseAccess.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/MoodleCourseAccess.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/MoodleCourseAccess.java index 7815ef03..54461dfe 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/MoodleCourseAccess.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/MoodleCourseAccess.java @@ -603,7 +603,9 @@ public class MoodleCourseAccess extends AbstractCourseAccess { lmsSetup.getInstitutionId(), lmsSetup.id, lmsSetup.getLmsType(), - courseQuizData.name, + (this.prependShortCourseName) + ? courseData.short_name + " : " + courseQuizData.name + : courseQuizData.name, courseQuizData.intro, (courseQuizData.time_open != null && courseQuizData.time_open > 0) ? Utils.toDateTimeUTCUnix(courseQuizData.time_open)