From cfdb36f69e89e4abc980cafae948726490a2acaf Mon Sep 17 00:00:00 2001 From: Mira Date: Mon, 23 Jun 2025 22:21:08 +0200 Subject: [PATCH] typo --- app/GraphQL/Queries/SearchSongLyrics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/GraphQL/Queries/SearchSongLyrics.php b/app/GraphQL/Queries/SearchSongLyrics.php index a0da0da3..a68e1e9f 100644 --- a/app/GraphQL/Queries/SearchSongLyrics.php +++ b/app/GraphQL/Queries/SearchSongLyrics.php @@ -45,7 +45,7 @@ public function __invoke($rootValue, array $args, GraphQLContext $context, Resol // (see ExcludeEvangelicalOnlySongsScope and EvangelicalSongsScope) // because they work only for Eloquent, not Elasticsearch, which confuses Scout. $filter_shortcut = Request::header('Filter-Content'); - if ($filter_shotcut == 'ez' || $filter_shortcut == 'ek') { + if ($filter_shortcut == 'ez' || $filter_shortcut == 'ek') { $songbook_id = Songbook::where('shortcut', $filter_shortcut)->first()->id; $searchParams['query']['bool']['filter'][] = [ 'terms' => ['songbook_records.songbook_id' => [$songbook_id]]