mirror of
https://github.com/gotson/komga.git
synced 2025-12-22 00:13:30 +01:00
parent
bbb9f7ce06
commit
d2288dda72
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ class MediaDao(
|
|||
.leftJoin(p).on(m.BOOK_ID.eq(p.BOOK_ID))
|
||||
.where(m.BOOK_ID.eq(bookId))
|
||||
.groupBy(*groupFields)
|
||||
.orderBy(p.NUMBER.asc())
|
||||
.fetchGroups(
|
||||
{ it.into(m) }, { it.into(p) }
|
||||
).map { (mr, pr) ->
|
||||
|
|
|
|||
Loading…
Reference in a new issue