diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/luscious/Luscious.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/luscious/Luscious.kt index 315a23681..3a06c6792 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/luscious/Luscious.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/luscious/Luscious.kt @@ -261,9 +261,9 @@ abstract class Luscious( "-1" -> it["url_to_original"].asString else -> it["thumbnails"][getResolutionPref()?.toInt()!!]["url"].asString } - chapter.name = it["title"].asString - chapter.date_upload = "${it["created"].asLong}000".toLong() chapter.chapter_number = it["position"].asInt.toFloat() + chapter.name = chapter.chapter_number.toInt().toString() + " - " + it["title"].asString + chapter.date_upload = "${it["created"].asLong}000".toLong() chapters.add(chapter) } if (nextPage) { @@ -550,6 +550,7 @@ abstract class Luscious( SelectFilterOption("Date - Trending", "date_trending"), SelectFilterOption("Date - Featured", "date_featured"), SelectFilterOption("Date - Last Viewed", "date_last_interaction"), + SelectFilterOption("Other - Search Score", "search_score"), ).forEach { sortOptions.add(it) } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/luscious/LusciousGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/luscious/LusciousGenerator.kt index 4c70ef38e..82662f2c8 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/luscious/LusciousGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/luscious/LusciousGenerator.kt @@ -9,7 +9,7 @@ class LusciousGenerator : ThemeSourceGenerator { override val themeClass = "Luscious" - override val baseVersionCode: Int = 11 + override val baseVersionCode: Int = 12 override val sources = listOf( MultiLang("Luscious", "https://www.luscious.net", listOf("en", "ja", "es", "it", "de", "fr", "zh", "ko", "other", "pt-BR", "th", "all"), isNsfw = true, className = "LusciousFactory", overrideVersionCode = 2),