From 60c12aa19b0b270cee98bed6795c4e5148174a20 Mon Sep 17 00:00:00 2001 From: Roardom Date: Tue, 4 Jun 2024 11:13:58 +0000 Subject: [PATCH] fix: quick search not showing people with no still --- app/Http/Livewire/QuickSearchDropdown.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Livewire/QuickSearchDropdown.php b/app/Http/Livewire/QuickSearchDropdown.php index 06e5b9f2ee..ec8443bd1e 100755 --- a/app/Http/Livewire/QuickSearchDropdown.php +++ b/app/Http/Livewire/QuickSearchDropdown.php @@ -86,7 +86,6 @@ public function render(): \Illuminate\Contracts\View\Factory|\Illuminate\Contrac ->get(), 'persons' => Person::query() ->select(['id', 'still', 'name']) - ->whereNotNull('still') ->where('name', 'LIKE', $search) ->oldest('name') ->take(10)