From a2917fa1f0dacd7d1bd863db8833a18a44ddaa23 Mon Sep 17 00:00:00 2001 From: lamaxama <163385206+lamaxama@users.noreply.github.com> Date: Sun, 22 Sep 2024 14:42:20 +0800 Subject: [PATCH] Pixiv: fix search repeats itself (#5149) * Pixiv: fix search repeats itself * bump version --- src/all/pixiv/build.gradle | 2 +- .../pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/pixiv/build.gradle b/src/all/pixiv/build.gradle index 344b510ab..ffe790c56 100644 --- a/src/all/pixiv/build.gradle +++ b/src/all/pixiv/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Pixiv' extClass = '.PixivFactory' - extVersionCode = 8 + extVersionCode = 9 isNsfw = true } diff --git a/src/all/pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt b/src/all/pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt index e2b8825ed..1e3ff58cd 100644 --- a/src/all/pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt +++ b/src/all/pixiv/src/eu/kanade/tachiyomi/extension/all/pixiv/Pixiv.kt @@ -86,7 +86,7 @@ class Pixiv(override val lang: String) : HttpSource() { override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable { val filters = filters.list as PixivFilters - val hash = Pair(query, filters).hashCode() + val hash = Pair(query, filters.toList()).hashCode() if (hash != searchHash || page == 1) { searchHash = hash