diff --git a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java index 3ada67b9da35912324969fcdb75e2b0be232e319..713731b8a4c8bd2f2949ac2ee28ba1c352a7d213 100644 --- a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java +++ b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java @@ -2426,6 +2426,8 @@ public class CouchDBDao implements IDatabaseDao, ApplicationEventPublisherAware viewString = "sort_order/preparation_question_sort_order_by_sessionid_and_subject"; } else if ("lecture".equals(questionVariant)) { viewString = "sort_order/lecture_question_sort_order_by_sessionid_and_subject"; + } else if ("flashcard".equals(questionVariant)) { + return null; } NovaView view = new NovaView(viewString);