diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamDAOImpl.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamDAOImpl.java index b92f3dbf..3ded3a19 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamDAOImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamDAOImpl.java @@ -431,7 +431,7 @@ public class ExamDAOImpl implements ExamDAO { isEqualTo(BooleanUtils.toInteger(true))) .and( ExamRecordDynamicSqlSupport.status, - isEqualTo(ExamStatus.UP_COMING.name())) + isNotEqualTo(ExamStatus.RUNNING.name())) .and( ExamRecordDynamicSqlSupport.updating, isEqualTo(BooleanUtils.toInteger(false)))