komga: sort genres and tags in alphabetical order (#8427)
This commit is contained in:
parent
b9a05d4fcc
commit
b425b94051
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Komga'
|
||||
extClass = '.KomgaFactory'
|
||||
extVersionCode = 61
|
||||
extVersionCode = 62
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -38,7 +38,7 @@ class SeriesDto(
|
||||
metadata.status == "HIATUS" -> SManga.ON_HIATUS
|
||||
else -> SManga.UNKNOWN
|
||||
}
|
||||
genre = (metadata.genres + metadata.tags + booksMetadata.tags).distinct().joinToString(", ")
|
||||
genre = (metadata.genres + metadata.tags + booksMetadata.tags).sorted().distinct().joinToString(", ")
|
||||
description = metadata.summary.ifBlank { booksMetadata.summary }
|
||||
booksMetadata.authors.groupBy({ it.role }, { it.name }).let { map ->
|
||||
author = map["writer"]?.distinct()?.joinToString()
|
||||
|
Loading…
x
Reference in New Issue
Block a user