Fix again

This commit is contained in:
Simon Pocrnjič 2024-11-19 19:12:56 +01:00
parent 1bc6203e44
commit d3f86470ce

View File

@ -34,15 +34,15 @@ protected function makeAllSearchableUsing(Builder $query): Builder
public function toSearchableArray(): array
{
$this->load('person');
$person = [
/*$person = [
'full_name' => $this->person->full_name,
'addresses' => $this->person->addresses,
'phones' => $this->person->phones
];
];*/
return [
'person' => $person
'person' => $this->person
];
}