Add highest numbered chapter function in MangaType (#1397)

* Add highest numbered chapter function in MangaType

* Fix name
This commit is contained in:
Mitchell Syer
2025-05-22 19:58:09 -04:00
committed by GitHub
parent 0405a535c7
commit ec870759cf
5 changed files with 31 additions and 2 deletions

View File

@@ -559,7 +559,7 @@ object Chapter {
.where { ChapterMetaTable.ref inList chapterIds }
.groupBy { it[ChapterMetaTable.ref] }
.mapValues { it.value.associate { it[ChapterMetaTable.key] to it[ChapterMetaTable.value] } }
.withDefault { emptyMap<String, String>() }
.withDefault { emptyMap() }
}
fun getChapterMetaMap(chapter: EntityID<Int>): Map<String, String> =