From dd91587f3e9c331af805936affda22e08df75710 Mon Sep 17 00:00:00 2001 From: jopejoe1 <34899572+jopejoe1@users.noreply.github.com> Date: Mon, 20 Dec 2021 10:56:14 +1300 Subject: [PATCH] Dilbert: fix sort order (#10166) * Fix sort order * Update build.gradle --- src/en/dilbert/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/en/dilbert/Dilbert.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/en/dilbert/build.gradle b/src/en/dilbert/build.gradle index 0f176d14a..3eb7a20a1 100644 --- a/src/en/dilbert/build.gradle +++ b/src/en/dilbert/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Dilbert' pkgNameSuffix = 'en.dilbert' extClass = '.Dilbert' - extVersionCode = 4 + extVersionCode = 5 } dependencies { diff --git a/src/en/dilbert/src/eu/kanade/tachiyomi/extension/en/dilbert/Dilbert.kt b/src/en/dilbert/src/eu/kanade/tachiyomi/extension/en/dilbert/Dilbert.kt index 015167a82..4d392a406 100644 --- a/src/en/dilbert/src/eu/kanade/tachiyomi/extension/en/dilbert/Dilbert.kt +++ b/src/en/dilbert/src/eu/kanade/tachiyomi/extension/en/dilbert/Dilbert.kt @@ -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 {