mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 20:01:50 +01:00
Search in library include manga description (#4787)
Co-Authored-By: jobobby04 <jobobby04@gmail.com> Co-authored-by: jobobby04 <jobobby04@gmail.com>
This commit is contained in:
parent
b3471234ad
commit
01c3498dbf
@ -90,6 +90,7 @@ class LibraryItem(val manga: LibraryManga, private val libraryDisplayMode: Prefe
|
|||||||
return manga.title.contains(constraint, true) ||
|
return manga.title.contains(constraint, true) ||
|
||||||
(manga.author?.contains(constraint, true) ?: false) ||
|
(manga.author?.contains(constraint, true) ?: false) ||
|
||||||
(manga.artist?.contains(constraint, true) ?: false) ||
|
(manga.artist?.contains(constraint, true) ?: false) ||
|
||||||
|
(manga.description?.contains(constraint, true) ?: false) ||
|
||||||
sourceManager.getOrStub(manga.source).name.contains(constraint, true) ||
|
sourceManager.getOrStub(manga.source).name.contains(constraint, true) ||
|
||||||
if (constraint.contains(",")) {
|
if (constraint.contains(",")) {
|
||||||
constraint.split(",").all { containsGenre(it.trim(), manga.getGenres()) }
|
constraint.split(",").all { containsGenre(it.trim(), manga.getGenres()) }
|
||||||
|
Loading…
Reference in New Issue
Block a user