From 9ab357103dba71a8f83f8a368c9314dcaa30565f Mon Sep 17 00:00:00 2001 From: Rama Bondan Prakoso Date: Wed, 24 Jun 2020 00:38:17 +0000 Subject: [PATCH] Maid Manga: Fix swapped popular and update (#3602) --- src/id/maidmanga/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/id/maidmanga/MaidManga.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/id/maidmanga/build.gradle b/src/id/maidmanga/build.gradle index 2b8cf61e2..5406ce46d 100644 --- a/src/id/maidmanga/build.gradle +++ b/src/id/maidmanga/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Maid - Manga' pkgNameSuffix = 'id.maidmanga' extClass = '.MaidManga' - extVersionCode = 4 + extVersionCode = 5 libVersion = '1.2' } diff --git a/src/id/maidmanga/src/eu/kanade/tachiyomi/extension/id/maidmanga/MaidManga.kt b/src/id/maidmanga/src/eu/kanade/tachiyomi/extension/id/maidmanga/MaidManga.kt index 1a9f1680c..e4a05bd53 100644 --- a/src/id/maidmanga/src/eu/kanade/tachiyomi/extension/id/maidmanga/MaidManga.kt +++ b/src/id/maidmanga/src/eu/kanade/tachiyomi/extension/id/maidmanga/MaidManga.kt @@ -32,7 +32,7 @@ class MaidManga : ParsedHttpSource() { override fun latestUpdatesSelector() = searchMangaSelector() override fun latestUpdatesRequest(page: Int): Request { - return GET("$baseUrl/advanced-search/${pagePathSegment(page)}?order=popular") + return GET("$baseUrl/advanced-search/${pagePathSegment(page)}?order=update") } override fun latestUpdatesFromElement(element: Element): SManga = searchMangaFromElement(element) @@ -40,7 +40,7 @@ class MaidManga : ParsedHttpSource() { override fun latestUpdatesNextPageSelector() = searchMangaNextPageSelector() override fun popularMangaRequest(page: Int): Request { - return GET("$baseUrl/advanced-search/${pagePathSegment(page)}?order=update") + return GET("$baseUrl/advanced-search/${pagePathSegment(page)}?order=popular") } override fun popularMangaSelector() = searchMangaSelector()