Fix search weighting for servers

This commit is contained in:
Dane Everitt 2018-01-05 18:49:00 -06:00
parent 21a78f465b
commit b3d7c6f1af
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -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,
]; ];
/** /**