diff --git a/multisrc/overrides/heancms/perfscan/src/PerfScan.kt b/multisrc/overrides/heancms/perfscan/src/PerfScan.kt index 23479e70d..00e8b879a 100644 --- a/multisrc/overrides/heancms/perfscan/src/PerfScan.kt +++ b/multisrc/overrides/heancms/perfscan/src/PerfScan.kt @@ -12,4 +12,6 @@ class PerfScan : HeanCms("Perf Scan", "https://perf-scan.fr", "fr") { override val coverPath: String = "" override val useNewQueryEndpoint = true + + override val slugStrategy = SlugStrategy.ID } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCms.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCms.kt index 8299b9a41..b11b1d3d5 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCms.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCms.kt @@ -405,13 +405,13 @@ abstract class HeanCms( if (useNewQueryEndpoint) { return result.seasons.orEmpty() .flatMap { it.chapters.orEmpty() } - .filterNot { it.price == 1 } + .filter { it.price == 0 } .map { it.toSChapter(result.slug, mangaSubDirectory, dateFormat, slugStrategy) } .filter { it.date_upload <= currentTimestamp } } return result.chapters.orEmpty() - .filterNot { it.price == 1 } + .filter { it.price == 0 } .map { it.toSChapter(result.slug, mangaSubDirectory, dateFormat, slugStrategy) } .filter { it.date_upload <= currentTimestamp } .reversed() @@ -603,7 +603,7 @@ abstract class HeanCms( SortProperty(intl.sortByTitle, "title"), SortProperty(intl.sortByViews, "total_views"), SortProperty(intl.sortByLatest, "latest"), - SortProperty(intl.sortByRecentlyAdded, "recently_added"), + SortProperty(intl.sortByCreatedAt, "created_at"), ) protected open fun getGenreList(): List = emptyList() diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCmsGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCmsGenerator.kt index 834fab332..bceb128ba 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCmsGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCmsGenerator.kt @@ -9,7 +9,7 @@ class HeanCmsGenerator : ThemeSourceGenerator { override val themeClass = "HeanCms" - override val baseVersionCode: Int = 18 + override val baseVersionCode: Int = 19 override val sources = listOf( SingleLang("Glorious Scan", "https://gloriousscan.com", "pt-BR", overrideVersionCode = 17), diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCmsIntl.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCmsIntl.kt index 5b0074145..c4cd4798c 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCmsIntl.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/heancms/HeanCmsIntl.kt @@ -64,10 +64,10 @@ class HeanCmsIntl(lang: String) { else -> "Latest" } - val sortByRecentlyAdded: String = when (availableLang) { + val sortByCreatedAt: String = when (availableLang) { BRAZILIAN_PORTUGUESE -> "Data de criação" - SPANISH -> "Añadido recientemente" - else -> "Recently added" + SPANISH -> "Fecha de creación" + else -> "Created at" } val filterWarning: String = when (availableLang) {