diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamRecordDAO.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamRecordDAO.java index c6a65cf9..5b2e8f10 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamRecordDAO.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamRecordDAO.java @@ -194,6 +194,7 @@ public class ExamRecordDAO { ExamRecordDynamicSqlSupport.status, isInWhenPresent(stateNames)); } else { + // for default the archived state is not presented only on explicit request whereClause = whereClause .and( ExamRecordDynamicSqlSupport.status,