From 76057b84b2d9ae01ad553a720aadb8114732dfab Mon Sep 17 00:00:00 2001 From: Andreas Date: Sun, 24 Jul 2022 21:06:18 +0200 Subject: [PATCH] Fix wrong query being used when opening Global Search (#7604) --- .../java/eu/kanade/tachiyomi/ui/library/LibraryController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt index 35dc02338..4001d1d21 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt @@ -53,7 +53,7 @@ class LibraryController( presenter = presenter, onMangaClicked = ::openManga, onGlobalSearchClicked = { - router.pushController(GlobalSearchController(presenter.query)) + router.pushController(GlobalSearchController(presenter.searchQuery)) }, onChangeCategoryClicked = ::showMangaCategoriesDialog, onMarkAsReadClicked = { markReadStatus(true) },