diff --git a/src/ar/shqqaa/build.gradle b/src/ar/shqqaa/build.gradle index fec7285cc..63131b549 100644 --- a/src/ar/shqqaa/build.gradle +++ b/src/ar/shqqaa/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Shqqaa Manga' pkgNameSuffix = 'ar.shqqaa' extClass = '.Shqqaa' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' } diff --git a/src/ar/shqqaa/src/eu/kanade/tachiyomi/extension/ar/shqqaa/Shqqaa.kt b/src/ar/shqqaa/src/eu/kanade/tachiyomi/extension/ar/shqqaa/Shqqaa.kt index f9fd661e8..e5d9130a5 100644 --- a/src/ar/shqqaa/src/eu/kanade/tachiyomi/extension/ar/shqqaa/Shqqaa.kt +++ b/src/ar/shqqaa/src/eu/kanade/tachiyomi/extension/ar/shqqaa/Shqqaa.kt @@ -64,7 +64,8 @@ class Shqqaa : ParsedHttpSource() { override fun latestUpdatesNextPageSelector(): String? = null // Search - override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable = Observable.empty() + override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable = fetchPopularManga(1) + .map { mp -> MangasPage(mp.mangas.filter { it.title.contains(query, ignoreCase = true) }, false) } override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request = throw Exception("Not used")