mirror of
https://github.com/gotson/komga.git
synced 2025-12-22 00:13:30 +01:00
fix(api): do not return empty language
This commit is contained in:
parent
1929061393
commit
2ab3c9ca95
1 changed files with 1 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ class ReferentialDao(
|
|||
override fun findAllLanguages(): Set<String> =
|
||||
dsl.selectDistinct(sd.LANGUAGE)
|
||||
.from(sd)
|
||||
.where(sd.LANGUAGE.ne(""))
|
||||
.orderBy(sd.LANGUAGE)
|
||||
.fetchSet(sd.LANGUAGE)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue