From bd7cec2f66ea6660ea4bc69ef66a236b7a4a82ef Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 13 Mar 2023 09:35:10 +0100 Subject: [PATCH] SEBSERV-392 fixed --- .../webservice/servicelayer/dao/impl/ExamRecordDAO.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 d6a81aa6..79153e0d 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 @@ -33,7 +33,6 @@ import org.springframework.transaction.annotation.Transactional; import ch.ethz.seb.sebserver.gbl.Constants; import ch.ethz.seb.sebserver.gbl.api.EntityType; -import ch.ethz.seb.sebserver.gbl.model.Domain.EXAM; import ch.ethz.seb.sebserver.gbl.model.exam.Exam; import ch.ethz.seb.sebserver.gbl.model.exam.Exam.ExamStatus; import ch.ethz.seb.sebserver.gbl.model.exam.Exam.ExamType; @@ -220,7 +219,7 @@ public class ExamRecordDAO { final List records = whereClause .and( ExamRecordDynamicSqlSupport.quizName, - isLikeWhenPresent(filterMap.getSQLWildcard(EXAM.ATTR_QUIZ_NAME))) + isLikeWhenPresent(filterMap.getSQLWildcard(QuizData.FILTER_ATTR_NAME))) .build() .execute();