diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/CourseAccess.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/CourseAccess.java index 07b00756..1bb84461 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/CourseAccess.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/CourseAccess.java @@ -101,8 +101,7 @@ public abstract class CourseAccess { } public Result> getQuizzes(final FilterMap filterMap) { - // TODO deal with filter attributes - + this.allQuizzesRequest.setSupplier(allQuizzesSupplier(filterMap)); return this.allQuizzesRequest.get() .map(LmsAPIService.quizzesFilterFunction(filterMap)); } 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 0ff96751..68e73c77 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 @@ -307,7 +307,7 @@ public class MoodleCourseAccess extends CourseAccess { course.end_date, from); return false; } - if (course.time_created != null && course.time_created.longValue() < from) { + if (course.start_date != null && course.start_date.longValue() < from) { log.info("(start)removed course: {} start {} end {}, from {}", course.short_name, course.start_date, course.end_date, from); return false;