diff --git a/src/main/java/org/olat/modules/lecture/manager/LectureBlockRollCallDAO.java b/src/main/java/org/olat/modules/lecture/manager/LectureBlockRollCallDAO.java index da49335105d501536722d6fc18536f8d1b3dd0bb..a3701044b3887371fd67651f3464273a52fe24a5 100644 --- a/src/main/java/org/olat/modules/lecture/manager/LectureBlockRollCallDAO.java +++ b/src/main/java/org/olat/modules/lecture/manager/LectureBlockRollCallDAO.java @@ -352,7 +352,8 @@ public class LectureBlockRollCallDAO { sb.append("select rollcall from lectureblockrollcall rollcall") .append(" inner join fetch rollcall.identity ident") .append(" inner join fetch ident.user user") - .append(" inner join fetch rollcall.lectureBlock block"); + .append(" inner join fetch rollcall.lectureBlock block") + .append(" left join fetch rollcall.absenceNotice notice"); if(searchParams.getHasAbsence() != null) { sb.and();