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
|
public function toSearchableArray(): array
|
||||||
{
|
{
|
||||||
$this->load('person');
|
|
||||||
$person = [
|
/*$person = [
|
||||||
'full_name' => $this->person->full_name,
|
'full_name' => $this->person->full_name,
|
||||||
'addresses' => $this->person->addresses,
|
'addresses' => $this->person->addresses,
|
||||||
'phones' => $this->person->phones
|
'phones' => $this->person->phones
|
||||||
];
|
];*/
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'person' => $person
|
'person' => $this->person
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user