diff --git a/src/Search/Searchables/Entries.php b/src/Search/Searchables/Entries.php index a8e8eba4c1..5556340b8d 100644 --- a/src/Search/Searchables/Entries.php +++ b/src/Search/Searchables/Entries.php @@ -58,6 +58,6 @@ public function find(array $ids): Collection protected function defaultFilter() { - return fn ($item) => $item->published(); + return fn ($item) => $item->status() === 'published'; } }