Some changes to UI and emails are now searchable
This commit is contained in:
@@ -68,7 +68,7 @@ protected static function booted()
|
||||
|
||||
protected function makeAllSearchableUsing(Builder $query): Builder
|
||||
{
|
||||
return $query->with(['addresses', 'phones']);
|
||||
return $query->with(['addresses', 'phones', 'emails']);
|
||||
}
|
||||
|
||||
public function toSearchableArray(): array
|
||||
@@ -79,6 +79,7 @@ public function toSearchableArray(): array
|
||||
'full_name' => '',
|
||||
'person_addresses.address' => '',
|
||||
'person_phones.nu' => '',
|
||||
'emails.value' => '',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user