Dilbert: fix sort order (#10166)
* Fix sort order * Update build.gradle
This commit is contained in:
parent
27b43a3025
commit
dd91587f3e
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Dilbert'
|
||||
pkgNameSuffix = 'en.dilbert'
|
||||
extClass = '.Dilbert'
|
||||
extVersionCode = 4
|
||||
extVersionCode = 5
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -70,7 +70,7 @@ class Dilbert : ParsedHttpSource() {
|
|||
override fun imageUrlParse(document: Document) = document.first(".img-comic").attr("src")!!
|
||||
|
||||
private fun chapterListRequest(manga: SManga, page: Int) =
|
||||
GET("$baseUrl/search_results?year=${manga.url}&page=$page", headers)
|
||||
GET("$baseUrl/search_results?year=${manga.url}&page=$page&sort=date_desc", headers)
|
||||
|
||||
private fun chapterListParse(manga: SManga, page: Int) =
|
||||
client.newCall(chapterListRequest(manga, page)).execute().run {
|
||||
|
|
Loading…
Reference in New Issue