diff --git a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java index 9f0b52a04c4e03fdade121041895c79e2d903cd5..58c25f77dac8c0a32f12637ce426b49ad73e296a 100644 --- a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java +++ b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java @@ -966,7 +966,7 @@ public class CouchDBDao implements IDatabaseDao { @Override public List<Session> getCourseSessions(final List<Course> courses) { - final ExtendedView view = new ExtendedView("logged_in/available_moodlesessions"); + final ExtendedView view = new ExtendedView("logged_in/by_courseid"); view.setCourseIdKeys(courses); final ViewResults sessions = getDatabase().view(view);