Fix again
This commit is contained in:
parent
1bc6203e44
commit
d3f86470ce
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user