From cb3d4f5225125a0d7edec63623c583e271c3c84c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Mon, 28 Feb 2022 20:33:01 +0100 Subject: [PATCH] fix typo --- src/Api/Controllers/SearchController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/Controllers/SearchController.php b/src/Api/Controllers/SearchController.php index 95f61ea..dbfc9d7 100644 --- a/src/Api/Controllers/SearchController.php +++ b/src/Api/Controllers/SearchController.php @@ -136,7 +136,7 @@ class SearchController extends ListDiscussionsController ->where(function ($query) use ($results) { $query ->whereIn('discussions.id', $results->pluck('discussion_id')->filter()) - ->orWhereIn('posts.id', $results->pluck('most_relevant_post_id')->filter()) + ->orWhereIn('posts.id', $results->pluck('most_relevant_post_id')->filter()); }) ->get() ->each(function (Discussion $discussion) use ($results) {