Dilbert: fix sort order (#10166)

* Fix sort order

* Update build.gradle
This commit is contained in:
jopejoe1 2021-12-20 10:56:14 +13:00 committed by GitHub
parent 27b43a3025
commit dd91587f3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Dilbert'
pkgNameSuffix = 'en.dilbert'
extClass = '.Dilbert'
extVersionCode = 4
extVersionCode = 5
}
dependencies {

View File

@ -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 {