diff --git a/modules/study/src/main/StudyApi.scala b/modules/study/src/main/StudyApi.scala index e81ecd516bb0..02e0c0f4e8a8 100644 --- a/modules/study/src/main/StudyApi.scala +++ b/modules/study/src/main/StudyApi.scala @@ -64,7 +64,7 @@ final class StudyApi( } def byIdWithChapter(id: StudyId, chapterId: StudyChapterId): Fu[Option[Study.WithChapter]] = - studyRepo.byIdWithChapter(chapterRepo.coll)(id, chapterId) + studyRepo.byIdWithChapter(chapterRepo.coll)(id, chapterId) orElse byIdWithChapter(id) def byIdWithFirstChapter(id: StudyId): Fu[Option[Study.WithChapter]] = byIdWithChapterFinder(id, chapterRepo firstByStudy id)