Fix search weighting for servers
This commit is contained in:
parent
21a78f465b
commit
b3d7c6f1af
1 changed files with 7 additions and 7 deletions
|
@ -119,13 +119,13 @@ class Server extends Model implements CleansAttributes, ValidableContract
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $searchableColumns = [
|
protected $searchableColumns = [
|
||||||
'name' => 10,
|
'name' => 50,
|
||||||
'uuidShort' => 9,
|
'uuidShort' => 10,
|
||||||
'uuid' => 8,
|
'uuid' => 10,
|
||||||
'pack.name' => 7,
|
'pack.name' => 5,
|
||||||
'user.email' => 6,
|
'user.email' => 20,
|
||||||
'user.username' => 6,
|
'user.username' => 20,
|
||||||
'node.name' => 2,
|
'node.name' => 10,
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue