MangaJar: show latest instead of oldest manga (#10629)

This commit is contained in:
Vetle Ledaal 2022-01-31 12:10:39 +00:00 committed by GitHub
parent c6e81d778f
commit b3dd6236bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,8 @@ ext {
extName = 'MangaJar'
pkgNameSuffix = 'en.mangajar'
extClass = '.MangaJar'
extVersionCode = 8
extVersionCode = 9
isNsfw = true
}
apply from: "$rootDir/common.gradle"

View File

@ -51,7 +51,7 @@ class MangaJar : ParsedHttpSource() {
// Latest
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/manga?sortBy=last_chapter_at&page=$page")
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/manga?sortBy=-last_chapter_at&page=$page")
override fun latestUpdatesSelector() = popularMangaSelector()