Update searchable key name
This commit is contained in:
parent
b375a0e58c
commit
d8f841262e
|
|
@ -286,6 +286,11 @@ class Client extends BaseModel implements HasLocalePreference
|
|||
return $this->hashed_id;
|
||||
}
|
||||
|
||||
public function scoutKeyName()
|
||||
{
|
||||
return 'hashed_id';
|
||||
}
|
||||
|
||||
public function getEntityType()
|
||||
{
|
||||
return self::class;
|
||||
|
|
|
|||
|
|
@ -190,6 +190,10 @@ class ClientContact extends Authenticatable implements HasLocalePreference
|
|||
return $this->hashed_id;
|
||||
}
|
||||
|
||||
public function scoutKeyName()
|
||||
{
|
||||
return 'hashed_id';
|
||||
}
|
||||
/*
|
||||
V2 type of scope
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -271,6 +271,11 @@ class Invoice extends BaseModel
|
|||
return $this->hashed_id;
|
||||
}
|
||||
|
||||
public function scoutKeyName()
|
||||
{
|
||||
return 'hashed_id';
|
||||
}
|
||||
|
||||
public function getEntityType()
|
||||
{
|
||||
return self::class;
|
||||
|
|
|
|||
Loading…
Reference in New Issue