diff --git a/komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/SeriesDao.kt b/komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/SeriesDao.kt index aa9755598..8ba0ae4d4 100644 --- a/komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/SeriesDao.kt +++ b/komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/SeriesDao.kt @@ -63,7 +63,7 @@ class SeriesDao( override fun findAll(search: SeriesSearch): Collection { val conditions = search.toCondition() - return dsl.select(*s.fields()) + return dsl.selectDistinct(*s.fields()) .from(s) .leftJoin(cs).on(s.ID.eq(cs.SERIES_ID)) .leftJoin(d).on(s.ID.eq(d.SERIES_ID))