Shqqaa - enable search (#3480)
This commit is contained in:
parent
3fa06f5eba
commit
6202a42260
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Shqqaa Manga'
|
appName = 'Tachiyomi: Shqqaa Manga'
|
||||||
pkgNameSuffix = 'ar.shqqaa'
|
pkgNameSuffix = 'ar.shqqaa'
|
||||||
extClass = '.Shqqaa'
|
extClass = '.Shqqaa'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,8 @@ class Shqqaa : ParsedHttpSource() {
|
||||||
override fun latestUpdatesNextPageSelector(): String? = null
|
override fun latestUpdatesNextPageSelector(): String? = null
|
||||||
|
|
||||||
// Search
|
// Search
|
||||||
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> = Observable.empty()
|
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> = 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")
|
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request = throw Exception("Not used")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue