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
1 changed files with 1 additions and 0 deletions
|
@ -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()) }
|
||||||
|
|
Reference in a new issue